| Index: sdk/lib/io/file_system_entity.dart
|
| diff --git a/sdk/lib/io/file_system_entity.dart b/sdk/lib/io/file_system_entity.dart
|
| index 0887175e859713a681c37ffc5c57d96c66a0cc3a..d8b7e1c62e2fde5430193f0fa86575f89b7a63f4 100644
|
| --- a/sdk/lib/io/file_system_entity.dart
|
| +++ b/sdk/lib/io/file_system_entity.dart
|
| @@ -221,6 +221,37 @@ abstract class FileSystemEntity {
|
| FileSystemEntity renameSync(String newPath);
|
|
|
| /**
|
| + * Resolves the path of a file system object relative to the
|
| + * current working directory, resolving all symbolic links on
|
| + * the path and resolving all '..' and '.' path segments.
|
| + * [resolveSymbolicLinks] returns a [:Future<String>:]
|
| + *
|
| + * [resolveSymbolicLinks] uses the operating system's native filesystem api
|
| + * to resolve the path, using the realpath function on linux and
|
| + * Mac OS, and the GetFinalPathNameByHandle function on Windows.
|
| + * If the path does not point to an existing file system object,
|
| + * [resolveSymbolicLinks] completes the returned Future with an exception.
|
| + * The type of the exception is determined by the type of [this],
|
| + * so a File object gives a FileException, etc.
|
| + */
|
| + Future<String> resolveSymbolicLinks();
|
| +
|
| + /**
|
| + * Resolves the path of a file system object relative to the
|
| + * current working directory, resolving all symbolic links on
|
| + * the path and resolving all '..' and '.' path segments.
|
| + *
|
| + * [resolveSymbolicLinksSync] uses the operating system's native
|
| + * filesystem api to resolve the path, using the realpath function
|
| + * on linux and Mac OS, and the GetFinalPathNameByHandle function on Windows.
|
| + * If the path does not point to an existing file system object,
|
| + * [resolveSymbolicLinksSync] throws an exception.
|
| + * The type of the exception is determined by the type of [this],
|
| + * so a File object gives a FileException, etc.
|
| + */
|
| + String resolveSymbolicLinksSync();
|
| +
|
| + /**
|
| * Calls the operating system's stat() function on the [path] of this
|
| * [FileSystemEntity]. Identical to [:FileStat.stat(this.path):].
|
| *
|
| @@ -316,7 +347,7 @@ abstract class FileSystemEntity {
|
| void _deleteSync({recursive: false});
|
|
|
| /**
|
| - * Synchronously checks whether two paths refer to the same object in the
|
| + * Checks whether two paths refer to the same object in the
|
| * file system. Returns a [:Future<bool>:] that completes with the result.
|
| *
|
| * Comparing a link to its target returns false, as does comparing two links
|
|
|