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

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

Issue 23889008: Move delete/deleteSync up to FileSystemEntity, with a shared documentation. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Style fixes. Created 7 years, 3 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 | « no previous file | runtime/bin/file_patch.dart » ('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(path) native "Directory_SetCurrent"; 7 /* patch */ static _setCurrent(path) native "Directory_SetCurrent";
8 /* patch */ static _createTemp(String template) native "Directory_CreateTemp"; 8 /* patch */ static _createTemp(String template) native "Directory_CreateTemp";
9 /* patch */ static int _exists(String path) native "Directory_Exists"; 9 /* patch */ static int _exists(String path) native "Directory_Exists";
10 /* patch */ static _create(String path) native "Directory_Create"; 10 /* patch */ static _create(String path) native "Directory_Create";
11 /* patch */ static _delete(String path, bool recursive) 11 /* patch */ static _deleteNative(String path, bool recursive)
12 native "Directory_Delete"; 12 native "Directory_Delete";
13 /* patch */ static _rename(String path, String newPath) 13 /* patch */ static _rename(String path, String newPath)
14 native "Directory_Rename"; 14 native "Directory_Rename";
15 /* patch */ static List _list(String path, bool recursive, bool followLinks) 15 /* patch */ static List _list(String path, bool recursive, bool followLinks)
16 native "Directory_List"; 16 native "Directory_List";
17 /* patch */ static SendPort _newServicePort() 17 /* patch */ static SendPort _newServicePort()
18 native "Directory_NewServicePort"; 18 native "Directory_NewServicePort";
19 } 19 }
OLDNEW
« no previous file with comments | « no previous file | runtime/bin/file_patch.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698