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:convert'; | 9 import 'dart:convert'; |
10 import 'dart:core' hide Resource; | 10 import 'dart:core'; |
11 | 11 |
12 import 'package:analyzer/file_system/file_system.dart'; | 12 import 'package:analyzer/file_system/file_system.dart'; |
13 import 'package:analyzer/src/generated/source_io.dart'; | 13 import 'package:analyzer/src/generated/source_io.dart'; |
14 import 'package:analyzer/src/source/source_resource.dart'; | 14 import 'package:analyzer/src/source/source_resource.dart'; |
15 import 'package:analyzer/src/util/absolute_path.dart'; | 15 import 'package:analyzer/src/util/absolute_path.dart'; |
16 import 'package:path/path.dart'; | 16 import 'package:path/path.dart'; |
17 import 'package:watcher/watcher.dart'; | 17 import 'package:watcher/watcher.dart'; |
18 | 18 |
19 /** | 19 /** |
20 * An in-memory implementation of [ResourceProvider]. | 20 * An in-memory implementation of [ResourceProvider]. |
(...skipping 524 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
545 bool operator ==(other) { | 545 bool operator ==(other) { |
546 if (runtimeType != other.runtimeType) { | 546 if (runtimeType != other.runtimeType) { |
547 return false; | 547 return false; |
548 } | 548 } |
549 return path == other.path; | 549 return path == other.path; |
550 } | 550 } |
551 | 551 |
552 @override | 552 @override |
553 String toString() => path; | 553 String toString() => path; |
554 } | 554 } |
OLD | NEW |