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

Side by Side Diff: sdk/lib/_internal/compiler/implementation/lib/io_patch.dart

Issue 15018011: dart:io | Add FileSystemEntity.stat() and FileStat class. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Add implementation 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
OLDNEW
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 class _BufferUtils { 5 patch class _BufferUtils {
6 patch static bool _isBuiltinList(List buffer) { 6 patch static bool _isBuiltinList(List buffer) {
7 throw new UnsupportedError("_isBuiltinList"); 7 throw new UnsupportedError("_isBuiltinList");
8 } 8 }
9 } 9 }
10 10
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 throw new UnsupportedError("EventHandler._sendData"); 49 throw new UnsupportedError("EventHandler._sendData");
50 } 50 }
51 } 51 }
52 52
53 patch class _FileUtils { 53 patch class _FileUtils {
54 patch static SendPort _newServicePort() { 54 patch static SendPort _newServicePort() {
55 throw new UnsupportedError("FileUtils._newServicePort"); 55 throw new UnsupportedError("FileUtils._newServicePort");
56 } 56 }
57 } 57 }
58 58
59 patch class FileStat {
60 patch static List<int> _statSync(String path) {
61 throw new UnsupportedError("FileStat.stat");
62 }
63 }
64
59 patch class FileSystemEntity { 65 patch class FileSystemEntity {
60 patch static _getType(String path, bool followLinks) { 66 patch static _getType(String path, bool followLinks) {
61 throw new UnsupportedError("FileSystemEntity._getType"); 67 throw new UnsupportedError("FileSystemEntity._getType");
62 } 68 }
63 patch static _identical(String path1, String path2) { 69 patch static _identical(String path1, String path2) {
64 throw new UnsupportedError("FileSystemEntity._identical"); 70 throw new UnsupportedError("FileSystemEntity._identical");
65 } 71 }
66 } 72 }
67 73
68 patch class _File { 74 patch class _File {
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
285 } 291 }
286 292
287 patch class _Filter { 293 patch class _Filter {
288 patch static _Filter newZLibDeflateFilter(bool gzip, int level) { 294 patch static _Filter newZLibDeflateFilter(bool gzip, int level) {
289 throw new UnsupportedError("newZLibDeflateFilter"); 295 throw new UnsupportedError("newZLibDeflateFilter");
290 } 296 }
291 patch static _Filter newZLibInflateFilter() { 297 patch static _Filter newZLibInflateFilter() {
292 throw new UnsupportedError("newZLibInflateFilter"); 298 throw new UnsupportedError("newZLibInflateFilter");
293 } 299 }
294 } 300 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698