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

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

Issue 12850010: Add FileSystemEntity.identical, to test if two file system objects are the same. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Change argument names from file1, file2 to path1, path2. 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/file_win.cc ('k') | sdk/lib/io/file_system_entity.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) 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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 patch class _FileUtils { 50 patch class _FileUtils {
51 patch static SendPort _newServicePort() { 51 patch static SendPort _newServicePort() {
52 throw new UnsupportedError("FileUtils._newServicePort"); 52 throw new UnsupportedError("FileUtils._newServicePort");
53 } 53 }
54 } 54 }
55 55
56 patch class FileSystemEntity { 56 patch class FileSystemEntity {
57 patch static int _getType(String path, bool followLinks) { 57 patch static int _getType(String path, bool followLinks) {
58 throw new UnsupportedError("FileSystemEntity._getType"); 58 throw new UnsupportedError("FileSystemEntity._getType");
59 } 59 }
60 patch static bool _identical(String path1, String path2) {
61 throw new UnsupportedError("FileSystemEntity._identical");
62 }
60 } 63 }
61 64
62 patch class _File { 65 patch class _File {
63 patch static _exists(String path) { 66 patch static _exists(String path) {
64 throw new UnsupportedError("File._exists"); 67 throw new UnsupportedError("File._exists");
65 } 68 }
66 patch static _create(String path) { 69 patch static _create(String path) {
67 throw new UnsupportedError("File._create"); 70 throw new UnsupportedError("File._create");
68 } 71 }
69 patch static _createLink(String path, String target) { 72 patch static _createLink(String path, String target) {
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
249 } 252 }
250 253
251 patch class _Filter { 254 patch class _Filter {
252 patch static _Filter newZLibDeflateFilter(bool gzip, int level) { 255 patch static _Filter newZLibDeflateFilter(bool gzip, int level) {
253 throw new UnsupportedError("newZLibDeflateFilter"); 256 throw new UnsupportedError("newZLibDeflateFilter");
254 } 257 }
255 patch static _Filter newZLibInflateFilter() { 258 patch static _Filter newZLibInflateFilter() {
256 throw new UnsupportedError("newZLibInflateFilter"); 259 throw new UnsupportedError("newZLibInflateFilter");
257 } 260 }
258 } 261 }
OLDNEW
« no previous file with comments | « runtime/bin/file_win.cc ('k') | sdk/lib/io/file_system_entity.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698