| OLD | NEW |
| 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, 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 package_config.packages; | 5 library package_config.packages; |
| 6 | 6 |
| 7 import "src/packages_impl.dart"; | 7 import "src/packages_impl.dart"; |
| 8 | 8 |
| 9 /// A package resolution strategy. | 9 /// A package resolution strategy. |
| 10 /// | 10 /// |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 /// | 50 /// |
| 51 /// Returns a map from package name to a base URI. | 51 /// Returns a map from package name to a base URI. |
| 52 /// The [resolve] method will resolve a package URI with a specific package | 52 /// The [resolve] method will resolve a package URI with a specific package |
| 53 /// name to a path extending the base URI that this map gives for that | 53 /// name to a path extending the base URI that this map gives for that |
| 54 /// package name. | 54 /// package name. |
| 55 /// | 55 /// |
| 56 /// Some `Packages` objects are unable to find the package names, | 56 /// Some `Packages` objects are unable to find the package names, |
| 57 /// and calling `asMap` on such a `Packages` object will throw. | 57 /// and calling `asMap` on such a `Packages` object will throw. |
| 58 Map<String, Uri> asMap(); | 58 Map<String, Uri> asMap(); |
| 59 } | 59 } |
| OLD | NEW |