Chromium Code Reviews| Index: pkg/barback/lib/src/barback.dart |
| diff --git a/pkg/barback/lib/src/barback.dart b/pkg/barback/lib/src/barback.dart |
| index 3dcb23e66d166996a44b27bd55c3606041e794aa..c073ca9a1d2ae5f0f185d1b2d833d07323aedb46 100644 |
| --- a/pkg/barback/lib/src/barback.dart |
| +++ b/pkg/barback/lib/src/barback.dart |
| @@ -8,6 +8,7 @@ import 'dart:async'; |
| import 'asset.dart'; |
| import 'asset_id.dart'; |
| +import 'asset_set.dart'; |
| import 'build_result.dart'; |
| import 'errors.dart'; |
| import 'package_graph.dart'; |
| @@ -88,4 +89,11 @@ class Barback { |
| /// Removes [removed] from the graph's known set of source assets. |
| void removeSources(Iterable<AssetId> removed) => |
| _graph.removeSources(removed); |
| + |
| + /// Gets all output assets. |
| + /// |
| + /// If a build is currently in progress, waits until it completes. The |
| + /// returned future will complete with an error if the build is not |
|
nweiz
2013/08/20 19:59:26
"with an error" -> "with a [BarbackException]"
Bob Nystrom
2013/08/20 21:29:20
Done.
|
| + /// successful. |
| + Future<AssetSet> getAllAssets() => _graph.getAllAssets(); |
| } |