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

Unified Diff: utils/pub/io.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: utils/pub/io.dart
diff --git a/utils/pub/io.dart b/utils/pub/io.dart
index 856413d5af05ff8368ea4634fc8c913ee473d764..ebdb35a80994a1f0aa580234ebd15f660a9ed8c7 100644
--- a/utils/pub/io.dart
+++ b/utils/pub/io.dart
@@ -161,7 +161,7 @@ Future<List<String>> listDir(String dir,
lister.listen(
(entity) {
if (entity is File) {
- var file = entity.name;
+ var file = entity.path;
if (!includeHiddenFiles && path.basename(file).startsWith('.')) {
return;
}
« runtime/bin/file_android.cc ('K') | « tests/standalone/io/windows_environment_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698