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

Unified Diff: runtime/bin/file.h

Issue 12691002: dart:io | Add Link class, as sibling to File and Directory. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Reverted patch, including fixes 19774 and 19775. Created 7 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/file.h
diff --git a/runtime/bin/file.h b/runtime/bin/file.h
index 9d6be4393d5cd10e0644a645c05e47c122cf4a18..dab7a9cb166bfb316394d45ca57690a31bf58f3d 100644
--- a/runtime/bin/file.h
+++ b/runtime/bin/file.h
@@ -123,6 +123,7 @@ class File {
static bool Exists(const char* path);
static bool Create(const char* path);
+ static bool CreateLink(const char* path, const char* target);
static bool Delete(const char* path);
static off_t LengthFromPath(const char* path);
static time_t LastModified(const char* path);
« no previous file with comments | « runtime/bin/builtin_natives.cc ('k') | runtime/bin/file.cc » ('j') | runtime/bin/file.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698