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

Unified Diff: sdk/lib/io/file_impl.dart

Issue 12812010: dart:io | Add Link.targetSync on all platforms. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Improve error handling on Windows. 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: sdk/lib/io/file_impl.dart
diff --git a/sdk/lib/io/file_impl.dart b/sdk/lib/io/file_impl.dart
index 1d9aa40aca376ccb02858c05a708b0aa4d677095..6edd3d94f259b0a26200c92d21932eb6870832da 100644
--- a/sdk/lib/io/file_impl.dart
+++ b/sdk/lib/io/file_impl.dart
@@ -301,6 +301,8 @@ class _File extends _FileBase implements File {
external static _createLink(String path, String target);
+ external static _linkTarget(String path);
+
void createSync() {
var result = _create(_path);
throwIfError(result, "Cannot create file '$_path'");

Powered by Google App Engine
This is Rietveld 408576698