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

Unified Diff: utils/pub/validator/name.dart

Issue 12253054: Get rid of join() and encapsulate File and Directory in io.dart. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rebase. 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
« no previous file with comments | « utils/pub/validator/lib.dart ('k') | utils/tests/pub/io_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/pub/validator/name.dart
diff --git a/utils/pub/validator/name.dart b/utils/pub/validator/name.dart
index 6a8cd918ea67ea1409e07ff4d1ce60c6250dea90..2ad4bc9faa00ac7eaf4b18009716758f78e2a369 100644
--- a/utils/pub/validator/name.dart
+++ b/utils/pub/validator/name.dart
@@ -48,7 +48,7 @@ class NameValidator extends Validator {
/// Returns a list of all libraries in the current package as paths relative
/// to the package's root directory.
Future<List<String>> get _libraries {
- var libDir = join(entrypoint.root.dir, "lib");
+ var libDir = path.join(entrypoint.root.dir, "lib");
return defer(() {
if (!dirExists(libDir)) return [];
return listDir(libDir, recursive: true);
« no previous file with comments | « utils/pub/validator/lib.dart ('k') | utils/tests/pub/io_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698