blob: 433b560590229c99d8096aa1eb29a9c116af0075 [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 '../io.dart' as io;
import 'file_system_entity.dart';
/// 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.
@override
Future<Link> create(String target, {bool recursive = false});
@override
Future<Link> update(String target);
@override
Future<Link> rename(String newPath);
@override
Link renameSync(String newPath);
@override
Link get absolute;
}