OLD | NEW |
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, 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 barback.package_provider; | 5 library barback.package_provider; |
6 | 6 |
7 import 'dart:async'; | 7 import 'dart:async'; |
8 | 8 |
9 import 'asset/asset.dart'; | 9 import 'asset/asset.dart'; |
10 import 'asset/asset_id.dart'; | 10 import 'asset/asset_id.dart'; |
(...skipping 29 matching lines...) Expand all Loading... |
40 /// The names of all static packages provided by this provider. | 40 /// The names of all static packages provided by this provider. |
41 /// | 41 /// |
42 /// This must be disjoint from [packages]. | 42 /// This must be disjoint from [packages]. |
43 Iterable<String> get staticPackages; | 43 Iterable<String> get staticPackages; |
44 | 44 |
45 /// Returns all ids of assets in [package]. | 45 /// Returns all ids of assets in [package]. |
46 /// | 46 /// |
47 /// This is used for [Barback.getAllAssets]. | 47 /// This is used for [Barback.getAllAssets]. |
48 Stream<AssetId> getAllAssetIds(String package); | 48 Stream<AssetId> getAllAssetIds(String package); |
49 } | 49 } |
OLD | NEW |