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

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

Issue 12638039: dart:io | Add "followLinks" optional parameter to Directory.list, let it return Link objects when f… (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Switch from Stream.reduce to Completer in link_test. 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 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 _createTemp(String template) native "Directory_CreateTemp"; 7 /* patch */ static _createTemp(String template) native "Directory_CreateTemp";
8 /* patch */ static int _exists(String path) native "Directory_Exists"; 8 /* patch */ static int _exists(String path) native "Directory_Exists";
9 /* patch */ static _create(String path) native "Directory_Create"; 9 /* patch */ static _create(String path) native "Directory_Create";
10 /* patch */ static _delete(String path, bool recursive) 10 /* patch */ static _delete(String path, bool recursive)
11 native "Directory_Delete"; 11 native "Directory_Delete";
12 /* patch */ static _rename(String path, String newPath) 12 /* patch */ static _rename(String path, String newPath)
13 native "Directory_Rename"; 13 native "Directory_Rename";
14 /* patch */ static List _list(String path, bool recursive) 14 /* patch */ static List _list(String path, bool recursive, bool followLinks)
15 native "Directory_List"; 15 native "Directory_List";
16 /* patch */ static SendPort _newServicePort() 16 /* patch */ static SendPort _newServicePort()
17 native "Directory_NewServicePort"; 17 native "Directory_NewServicePort";
18 } 18 }
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