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

Side by Side Diff: runtime/bin/directory_patch.dart

Issue 13896034: Add the ability to change the working directory (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fixed tests Created 7 years, 7 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « runtime/bin/directory_macos.cc ('k') | runtime/bin/directory_win.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 patch class _Directory { 5 patch class _Directory {
6 /* patch */ static String _current() native "Directory_Current"; 6 /* patch */ static String _current() native "Directory_Current";
7 /* patch */ static _setCurrent(String path) native "Directory_SetCurrent";
7 /* patch */ static _createTemp(String template) native "Directory_CreateTemp"; 8 /* patch */ static _createTemp(String template) native "Directory_CreateTemp";
8 /* patch */ static int _exists(String path) native "Directory_Exists"; 9 /* patch */ static int _exists(String path) native "Directory_Exists";
9 /* patch */ static _create(String path) native "Directory_Create"; 10 /* patch */ static _create(String path) native "Directory_Create";
10 /* patch */ static _delete(String path, bool recursive) 11 /* patch */ static _delete(String path, bool recursive)
11 native "Directory_Delete"; 12 native "Directory_Delete";
12 /* patch */ static _rename(String path, String newPath) 13 /* patch */ static _rename(String path, String newPath)
13 native "Directory_Rename"; 14 native "Directory_Rename";
14 /* patch */ static List _list(String path, bool recursive, bool followLinks) 15 /* patch */ static List _list(String path, bool recursive, bool followLinks)
15 native "Directory_List"; 16 native "Directory_List";
16 /* patch */ static SendPort _newServicePort() 17 /* patch */ static SendPort _newServicePort()
17 native "Directory_NewServicePort"; 18 native "Directory_NewServicePort";
18 } 19 }
OLDNEW
« no previous file with comments | « runtime/bin/directory_macos.cc ('k') | runtime/bin/directory_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698