| 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 5c15c1c8c87d99906fe76572e1474861de86d72f..ee4312fbe9ac72042f194134da3ba0c676058f23 100644
|
| --- a/sdk/lib/io/file_system_entity.dart
|
| +++ b/sdk/lib/io/file_system_entity.dart
|
| @@ -124,7 +124,7 @@ class FileStat {
|
| if (Platform.isWindows) {
|
| path = FileSystemEntity._trimTrailingPathSeparators(path);
|
| }
|
| - return _IOService._dispatch(_FILE_STAT, [path]).then((response) {
|
| + return _IOService.dispatch(_FILE_STAT, [path]).then((response) {
|
| if (_isErrorResponse(response)) {
|
| return FileStat._notFound;
|
| }
|
| @@ -295,7 +295,7 @@ abstract class FileSystemEntity {
|
| * behavior.
|
| */
|
| Future<String> resolveSymbolicLinks() {
|
| - return _IOService._dispatch(_FILE_RESOLVE_SYMBOLIC_LINKS, [path])
|
| + return _IOService.dispatch(_FILE_RESOLVE_SYMBOLIC_LINKS, [path])
|
| .then((response) {
|
| if (_isErrorResponse(response)) {
|
| throw _exceptionFromResponse(response,
|
| @@ -459,7 +459,7 @@ abstract class FileSystemEntity {
|
| * to an object that does not exist.
|
| */
|
| static Future<bool> identical(String path1, String path2) {
|
| - return _IOService._dispatch(_FILE_IDENTICAL, [path1, path2]).then((response) {
|
| + return _IOService.dispatch(_FILE_IDENTICAL, [path1, path2]).then((response) {
|
| if (_isErrorResponse(response)) {
|
| throw _exceptionFromResponse(response,
|
| "Error in FileSystemEntity.identical($path1, $path2)", "");
|
| @@ -657,7 +657,7 @@ abstract class FileSystemEntity {
|
| }
|
|
|
| static Future<int> _getTypeAsync(String path, bool followLinks) {
|
| - return _IOService._dispatch(_FILE_TYPE, [path, followLinks])
|
| + return _IOService.dispatch(_FILE_TYPE, [path, followLinks])
|
| .then((response) {
|
| if (_isErrorResponse(response)) {
|
| throw _exceptionFromResponse(response, "Error getting type", path);
|
|
|