blob: 1288363e7256830bc395bc4119d978feab1cb4d7 [file] [log] [blame]
// Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
import 'dart:async';
import 'file_system_entity.dart';
import '../io.dart' as io;
/// A reference to a symbolic link on the file system.
abstract class Link implements FileSystemEntity, io.Link {
// Override method definitions to codify the return type covariance.
Future<Link> create(String target, {bool recursive: false});
Future<Link> update(String target);
Future<Link> rename(String newPath);
Link renameSync(String newPath);
Link get absolute;