blob: 33b252de8959720941bc8be18852613b060d287f [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.
part of file.src.interface;
/// The common super class for [File], [Directory], and [Link] objects.
abstract class FileSystemEntity implements io.FileSystemEntity {
/// Returns the file system responsible for this entity.
FileSystem get fileSystem;
// Override method definitions to codify the return type covariance.
@override
Future<FileSystemEntity> delete({bool recursive: false});
@override
Directory get parent;
}