Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(868)

Unified Diff: sdk/lib/io/file_system_entity.dart

Issue 816353012: Mark all private functions in dart: libraries as invisible (*sniff*). (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sdk/lib/io/file_impl.dart ('k') | sdk/lib/io/io_service.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 ee4312fbe9ac72042f194134da3ba0c676058f23..5c15c1c8c87d99906fe76572e1474861de86d72f 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);
« no previous file with comments | « sdk/lib/io/file_impl.dart ('k') | sdk/lib/io/io_service.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698