OLD | NEW |
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, 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 pub.solver.version_solver; | |
6 | |
7 import 'dart:async'; | 5 import 'dart:async'; |
8 import "dart:convert"; | 6 import "dart:convert"; |
9 | 7 |
10 import 'package:pub_semver/pub_semver.dart'; | 8 import 'package:pub_semver/pub_semver.dart'; |
11 import 'package:stack_trace/stack_trace.dart'; | 9 import 'package:stack_trace/stack_trace.dart'; |
12 | 10 |
13 import '../exceptions.dart'; | 11 import '../exceptions.dart'; |
14 import '../lock_file.dart'; | 12 import '../lock_file.dart'; |
15 import '../log.dart' as log; | 13 import '../log.dart' as log; |
16 import '../package.dart'; | 14 import '../package.dart'; |
(...skipping 417 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
434 | 432 |
435 DependencyNotFoundException(String package, this._innerException, | 433 DependencyNotFoundException(String package, this._innerException, |
436 Iterable<Dependency> dependencies) | 434 Iterable<Dependency> dependencies) |
437 : super(package, dependencies); | 435 : super(package, dependencies); |
438 | 436 |
439 /// The failure isn't because of the version of description of the package, | 437 /// The failure isn't because of the version of description of the package, |
440 /// it's the package itself that can't be found, so just show the name and no | 438 /// it's the package itself that can't be found, so just show the name and no |
441 /// descriptive details. | 439 /// descriptive details. |
442 String _describeDependency(PackageDep dep) => ""; | 440 String _describeDependency(PackageDep dep) => ""; |
443 } | 441 } |
OLD | NEW |