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 pub.cached_package; | |
6 | |
7 import 'package:path/path.dart' as p; | 5 import 'package:path/path.dart' as p; |
8 import 'package:pub_semver/pub_semver.dart'; | 6 import 'package:pub_semver/pub_semver.dart'; |
9 import 'package:yaml/yaml.dart'; | 7 import 'package:yaml/yaml.dart'; |
10 | 8 |
11 import 'barback/transformer_config.dart'; | 9 import 'barback/transformer_config.dart'; |
12 import 'io.dart'; | 10 import 'io.dart'; |
13 import 'package.dart'; | 11 import 'package.dart'; |
14 import 'pubspec.dart'; | 12 import 'pubspec.dart'; |
15 | 13 |
16 /// A [Package] whose `lib` directory has been precompiled and cached. | 14 /// A [Package] whose `lib` directory has been precompiled and cached. |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 String get publishTo => _inner.publishTo; | 75 String get publishTo => _inner.publishTo; |
78 Map<String, String> get executables => _inner.executables; | 76 Map<String, String> get executables => _inner.executables; |
79 bool get isPrivate => _inner.isPrivate; | 77 bool get isPrivate => _inner.isPrivate; |
80 bool get isEmpty => _inner.isEmpty; | 78 bool get isEmpty => _inner.isEmpty; |
81 List<PubspecException> get allErrors => _inner.allErrors; | 79 List<PubspecException> get allErrors => _inner.allErrors; |
82 | 80 |
83 List<Set<TransformerConfig>> get transformers => const []; | 81 List<Set<TransformerConfig>> get transformers => const []; |
84 | 82 |
85 _CachedPubspec(this._inner); | 83 _CachedPubspec(this._inner); |
86 } | 84 } |
OLD | NEW |