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

Unified Diff: sdk/lib/_internal/compiler/implementation/lib/io_patch.dart

Issue 12314153: dart:io | Rename File.name to File.path. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Remove stray line break. Created 7 years, 10 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
Index: sdk/lib/_internal/compiler/implementation/lib/io_patch.dart
diff --git a/sdk/lib/_internal/compiler/implementation/lib/io_patch.dart b/sdk/lib/_internal/compiler/implementation/lib/io_patch.dart
index 00ed80040ee15a51ab317cc7c420077879d692d6..ed10807eb18285a95cf23ba8e9a1c917d78c9230 100644
--- a/sdk/lib/_internal/compiler/implementation/lib/io_patch.dart
+++ b/sdk/lib/_internal/compiler/implementation/lib/io_patch.dart
@@ -54,31 +54,31 @@ patch class _FileUtils {
}
patch class _File {
- patch static _exists(String name) {
+ patch static _exists(String path) {
throw new UnsupportedError("File._exists");
}
- patch static _create(String name) {
+ patch static _create(String path) {
throw new UnsupportedError("File._create");
}
- patch static _delete(String name) {
+ patch static _delete(String path) {
throw new UnsupportedError("File._delete");
}
- patch static _directory(String name) {
+ patch static _directory(String path) {
throw new UnsupportedError("File._directory");
}
- patch static _lengthFromName(String name) {
- throw new UnsupportedError("File._lengthFromName");
+ patch static _lengthFromPath(String path) {
+ throw new UnsupportedError("File._lengthFromPath");
}
- patch static _lastModified(String name) {
+ patch static _lastModified(String path) {
throw new UnsupportedError("File._lastModified");
}
- patch static _open(String name, int mode) {
+ patch static _open(String path, int mode) {
throw new UnsupportedError("File._open");
}
patch static int _openStdio(int fd) {
throw new UnsupportedError("File._openStdio");
}
- patch static _fullPath(String name) {
+ patch static _fullPath(String path) {
throw new UnsupportedError("File._fullPath");
}
}

Powered by Google App Engine
This is Rietveld 408576698