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

Unified Diff: runtime/bin/file.h

Issue 9416096: Implement File.directory() and File.directorySync() to get (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Remove bogus assert Created 8 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 | « runtime/bin/builtin_natives.cc ('k') | runtime/bin/file.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/file.h
diff --git a/runtime/bin/file.h b/runtime/bin/file.h
index deffe0e42c4d2ed5cf28fd173d0ae1cc6affee35..16ff0fcac15b316f7d280263f365bd13b72836ae 100644
--- a/runtime/bin/file.h
+++ b/runtime/bin/file.h
@@ -88,6 +88,7 @@ class File {
static bool Delete(const char* name);
static bool IsAbsolutePath(const char* pathname);
static char* GetCanonicalPath(const char* name);
+ static char* GetContainingDirectory(char* name);
static const char* PathSeparator();
static const char* StringEscapedPathSeparator();
static StdioHandleType GetStdioHandleType(int fd);
« no previous file with comments | « runtime/bin/builtin_natives.cc ('k') | runtime/bin/file.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698