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

Unified Diff: runtime/bin/directory.dart

Issue 9622001: Add the ability to get the current directory (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix windows Created 8 years, 9 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: runtime/bin/directory.dart
diff --git a/runtime/bin/directory.dart b/runtime/bin/directory.dart
index d8cce280f057b732b89a357c71390bb368eac87f..8efca7227b3140be8e43f995a740f3c8adaf3fdf 100644
--- a/runtime/bin/directory.dart
+++ b/runtime/bin/directory.dart
@@ -14,6 +14,12 @@ interface Directory default _Directory {
Directory(String path);
/**
+ * Creates a directory object pointing to the current working
+ * diimdirectory.
Mads Ager (google) 2012/03/07 13:12:21 diim! ;-)
+ */
+ Directory.current();
+
+ /**
* Check whether a directory with this name already exists. If the
* operation completes successfully the callback is called with the
* result. Otherwise [onError] is called.

Powered by Google App Engine
This is Rietveld 408576698