Index: sdk/lib/io/link.dart |
diff --git a/sdk/lib/io/link.dart b/sdk/lib/io/link.dart |
index 8b726ed5ba34136edd7eaf95368c5f2d7eecf0d0..d774fa266c48e4922f132391520b609d37c51b35 100644 |
--- a/sdk/lib/io/link.dart |
+++ b/sdk/lib/io/link.dart |
@@ -15,12 +15,6 @@ abstract class Link implements FileSystemEntity { |
factory Link(String path) => new _Link(path); |
/** |
- * Creates a Link object from a Path object. |
- */ |
- @deprecated |
- factory Link.fromPath(Path path) => new _Link.fromPath(path); |
- |
- /** |
* Creates a symbolic link. Returns a [:Future<Link>:] that completes with |
* the link when it has been created. If the link exists, |
* the future will complete with an error. |
@@ -144,8 +138,6 @@ class _Link extends FileSystemEntity implements Link { |
} |
- _Link.fromPath(Path inputPath) : path = inputPath.toNativePath(); |
- |
String toString() => "Link: '$path'"; |
Future<bool> exists() => FileSystemEntity.isLink(path); |