| OLD | NEW | 
|    1 // Copyright (c) 2014, the Dart project authors.  Please see the AUTHORS file |    1 // Copyright (c) 2014, 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 library analyzer.file_system.memory_file_system; |    5 library analyzer.file_system.memory_file_system; | 
|    6  |    6  | 
|    7 import 'dart:async'; |    7 import 'dart:async'; | 
|    8 import 'dart:collection'; |    8 import 'dart:collection'; | 
|    9 import 'dart:core' hide Resource; |    9 import 'dart:core' hide Resource; | 
|   10  |   10  | 
| (...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  289   List<int> readAsBytesSync() { |  289   List<int> readAsBytesSync() { | 
|  290     throw new FileSystemException(path, 'File could not be read'); |  290     throw new FileSystemException(path, 'File could not be read'); | 
|  291   } |  291   } | 
|  292  |  292  | 
|  293   @override |  293   @override | 
|  294   String readAsStringSync() { |  294   String readAsStringSync() { | 
|  295     throw new FileSystemException(path, 'File could not be read'); |  295     throw new FileSystemException(path, 'File could not be read'); | 
|  296   } |  296   } | 
|  297  |  297  | 
|  298   @override |  298   @override | 
|  299   Resource renameSync(String newPath) { |  299   File renameSync(String newPath) { | 
|  300     throw new FileSystemException(path, 'File could not be renamed'); |  300     throw new FileSystemException(path, 'File could not be renamed'); | 
|  301   } |  301   } | 
|  302  |  302  | 
|  303   @override |  303   @override | 
|  304   void writeAsBytesSync(List<int> bytes) { |  304   void writeAsBytesSync(List<int> bytes) { | 
|  305     throw new FileSystemException(path, 'File could not be written'); |  305     throw new FileSystemException(path, 'File could not be written'); | 
|  306   } |  306   } | 
|  307 } |  307 } | 
|  308  |  308  | 
|  309 /** |  309 /** | 
| (...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  570   bool operator ==(other) { |  570   bool operator ==(other) { | 
|  571     if (runtimeType != other.runtimeType) { |  571     if (runtimeType != other.runtimeType) { | 
|  572       return false; |  572       return false; | 
|  573     } |  573     } | 
|  574     return path == other.path; |  574     return path == other.path; | 
|  575   } |  575   } | 
|  576  |  576  | 
|  577   @override |  577   @override | 
|  578   String toString() => path; |  578   String toString() => path; | 
|  579 } |  579 } | 
| OLD | NEW |