@@ -14,13 +14,13 @@ class LocalFileSystem extends FileSystem {
1414
1515 @override
1616 Directory directory (dynamic path) =>
17- new _LocalDirectory (this , shim. newDirectory (getPath (path)));
17+ new _LocalDirectory (this , new io. Directory (getPath (path)));
1818
1919 @override
20- File file (dynamic path) => new _LocalFile (this , shim. newFile (getPath (path)));
20+ File file (dynamic path) => new _LocalFile (this , new io. File (getPath (path)));
2121
2222 @override
23- Link link (dynamic path) => new _LocalLink (this , shim. newLink (getPath (path)));
23+ Link link (dynamic path) => new _LocalLink (this , new io. Link (getPath (path)));
2424
2525 @override
2626 p.Context get path => new p.Context ();
@@ -30,36 +30,36 @@ class LocalFileSystem extends FileSystem {
3030 /// platform-dependent, and may be set by an environment variable.
3131 @override
3232 Directory get systemTempDirectory =>
33- new _LocalDirectory (this , shim. systemTemp () );
33+ new _LocalDirectory (this , io. Directory . systemTemp);
3434
3535 @override
36- Directory get currentDirectory => directory (shim.currentDirectory .path);
36+ Directory get currentDirectory => directory (io. Directory .current .path);
3737
3838 @override
39- set currentDirectory (dynamic path) => shim.currentDirectory = path;
39+ set currentDirectory (dynamic path) => io. Directory .current = path;
4040
4141 @override
42- Future <io.FileStat > stat (String path) => shim .stat (path);
42+ Future <io.FileStat > stat (String path) => io. FileStat .stat (path);
4343
4444 @override
45- io.FileStat statSync (String path) => shim .statSync (path);
45+ io.FileStat statSync (String path) => io. FileStat .statSync (path);
4646
4747 @override
4848 Future <bool > identical (String path1, String path2) =>
49- shim .identical (path1, path2);
49+ io. FileSystemEntity .identical (path1, path2);
5050
5151 @override
5252 bool identicalSync (String path1, String path2) =>
53- shim .identicalSync (path1, path2);
53+ io. FileSystemEntity .identicalSync (path1, path2);
5454
5555 @override
56- bool get isWatchSupported => shim .isWatchSupported;
56+ bool get isWatchSupported => io. FileSystemEntity .isWatchSupported;
5757
5858 @override
5959 Future <io.FileSystemEntityType > type (String path, {bool followLinks: true }) =>
60- shim. type (path, followLinks);
60+ io. FileSystemEntity . type (path, followLinks : followLinks);
6161
6262 @override
6363 io.FileSystemEntityType typeSync (String path, {bool followLinks: true }) =>
64- shim. typeSync (path, followLinks);
64+ io. FileSystemEntity . typeSync (path, followLinks : followLinks);
6565}
0 commit comments