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.physical_file_system; | 5 library analyzer.file_system.physical_file_system; |
6 | 6 |
7 import 'dart:async'; | 7 import 'dart:async'; |
8 import 'dart:core' hide Resource; | 8 import 'dart:core'; |
9 import 'dart:io' as io; | 9 import 'dart:io' as io; |
10 | 10 |
11 import 'package:analyzer/file_system/file_system.dart'; | 11 import 'package:analyzer/file_system/file_system.dart'; |
12 import 'package:analyzer/src/generated/source_io.dart'; | 12 import 'package:analyzer/src/generated/source_io.dart'; |
13 import 'package:analyzer/src/source/source_resource.dart'; | 13 import 'package:analyzer/src/source/source_resource.dart'; |
14 import 'package:analyzer/src/util/absolute_path.dart'; | 14 import 'package:analyzer/src/util/absolute_path.dart'; |
15 import 'package:isolate/isolate_runner.dart'; | 15 import 'package:isolate/isolate_runner.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 |
(...skipping 356 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
375 timer.cancel(); | 375 timer.cancel(); |
376 } | 376 } |
377 }); | 377 }); |
378 return completer.future; | 378 return completer.future; |
379 } | 379 } |
380 _isSpawning = true; | 380 _isSpawning = true; |
381 _runner = await IsolateRunner.spawn(); | 381 _runner = await IsolateRunner.spawn(); |
382 return _runner; | 382 return _runner; |
383 } | 383 } |
384 } | 384 } |
OLD | NEW |