OLD | NEW |
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, 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 | 5 @patch class FileStat { |
6 class FileStat { | 6 @patch static _statSync(String path) native "File_Stat"; |
7 @patch | |
8 static _statSync(String path) native "File_Stat"; | |
9 } | 7 } |
10 | 8 |
11 @patch | 9 |
12 class FileSystemEntity { | 10 @patch class FileSystemEntity { |
13 @patch | 11 @patch static _getType(String path, bool followLinks) |
14 static _getType(String path, bool followLinks) native "File_GetType"; | 12 native "File_GetType"; |
15 @patch | 13 @patch static _identical(String path1, String path2) |
16 static _identical(String path1, String path2) native "File_AreIdentical"; | 14 native "File_AreIdentical"; |
17 @patch | 15 @patch static _resolveSymbolicLinks(String path) |
18 static _resolveSymbolicLinks(String path) native "File_ResolveSymbolicLinks"; | 16 native "File_ResolveSymbolicLinks"; |
19 } | 17 } |
OLD | NEW |