public IEnumerable<AssetFile> Write(AssetPath asset) { if (asset.IsBinary()) { return writeBinary(asset); } // TODO -- have to deal with the [package]:scripts/ // think it'll just be testing return writeTextualAsset(asset); }
public bool Write(AssetPath asset, Action<IEnumerable<AssetFile>> writeHeaders) { if (asset.IsBinary()) { return writeBinary(asset, writeHeaders).Any(); } // TODO -- have to deal with the [package]:scripts/ // think it'll just be testing return writeTextualAsset(asset, writeHeaders).Any(); }