| 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 // This code was auto-generated, is not intended to be edited, and is subject to | 5 // This code was auto-generated, is not intended to be edited, and is subject to |
| 6 // significant change. Please see the README file for more information. | 6 // significant change. Please see the README file for more information. |
| 7 | 7 |
| 8 library engine.source.io; | 8 library engine.source.io; |
| 9 | 9 |
| 10 import 'dart:collection'; | 10 import 'dart:collection'; |
| 11 | 11 |
| 12 import 'engine.dart'; | 12 import 'engine.dart'; |
| 13 import 'java_core.dart'; | 13 import 'java_core.dart'; |
| 14 import 'java_engine.dart'; | 14 import 'java_engine.dart'; |
| 15 import 'java_io.dart'; | 15 import 'java_io.dart'; |
| 16 import 'source.dart'; | 16 import 'source.dart'; |
| 17 import 'utilities_general.dart'; | |
| 18 | 17 |
| 19 export 'source.dart'; | 18 export 'source.dart'; |
| 20 | 19 |
| 21 /** | 20 /** |
| 22 * Instances of the class [DirectoryBasedSourceContainer] represent a source con
tainer that | 21 * Instances of the class [DirectoryBasedSourceContainer] represent a source con
tainer that |
| 23 * contains all sources within a given directory. | 22 * contains all sources within a given directory. |
| 24 */ | 23 */ |
| 25 class DirectoryBasedSourceContainer implements SourceContainer { | 24 class DirectoryBasedSourceContainer implements SourceContainer { |
| 26 /** | 25 /** |
| 27 * The container's path (not `null`). | 26 * The container's path (not `null`). |
| (...skipping 510 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 538 } | 537 } |
| 539 | 538 |
| 540 /** | 539 /** |
| 541 * Return `true` if the given URI is a `file` URI. | 540 * Return `true` if the given URI is a `file` URI. |
| 542 * | 541 * |
| 543 * @param uri the URI being tested | 542 * @param uri the URI being tested |
| 544 * @return `true` if the given URI is a `file` URI | 543 * @return `true` if the given URI is a `file` URI |
| 545 */ | 544 */ |
| 546 static bool isFileUri(Uri uri) => uri.scheme == FILE_SCHEME; | 545 static bool isFileUri(Uri uri) => uri.scheme == FILE_SCHEME; |
| 547 } | 546 } |
| OLD | NEW |