| Index: pkg/barback/lib/src/barback.dart
|
| diff --git a/pkg/barback/lib/src/barback.dart b/pkg/barback/lib/src/barback.dart
|
| index c66ee40abb3fedf7ca1c5736c96ad6410e2d8f41..313d42cae1f9c6b364ac38afac574892a2a4ef93 100644
|
| --- a/pkg/barback/lib/src/barback.dart
|
| +++ b/pkg/barback/lib/src/barback.dart
|
| @@ -8,10 +8,12 @@ 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';
|
| import 'package_provider.dart';
|
| +import 'transformer.dart';
|
|
|
| /// A general-purpose asynchronous build dependency graph manager.
|
| ///
|
| @@ -89,6 +91,13 @@ class Barback {
|
| 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 a [BarbackException] if the build is
|
| + /// not successful.
|
| + Future<AssetSet> getAllAssets() => _graph.getAllAssets();
|
| +
|
| /// Sets the transformer phases for [package]'s assets to [transformers].
|
| ///
|
| /// To the extent that [transformers] is similar to the previous transformer
|
|
|