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

Unified Diff: runtime/bin/directory.h

Issue 8277033: Add exists, create and delete to directory implementation on Linux and Mac. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 9 years, 2 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.h
diff --git a/runtime/bin/directory.h b/runtime/bin/directory.h
index 0c6b7e23c4f1c2d9d6bb6260c423af12b6a0ea06..d384e1a2791f075048e87d4f70dd4e51e03807a0 100644
--- a/runtime/bin/directory.h
+++ b/runtime/bin/directory.h
@@ -17,6 +17,12 @@ class Directory {
Dart_Port done_port,
Dart_Port error_port);
+ static bool Exists(const char* path, bool* result);
+
+ static bool Create(const char* path);
+
+ static bool Delete(const char* path);
+
DISALLOW_ALLOCATION();
DISALLOW_IMPLICIT_CONSTRUCTORS(Directory);
};
« no previous file with comments | « runtime/bin/builtin_in.cc ('k') | runtime/bin/directory.cc » ('j') | runtime/bin/directory.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698