Versions in this module Expand all Collapse all v0 v0.16.1 Apr 2, 2019 Changes in this version + func DeleteAssetFromDisk(asset WritableAsset, directory string) error + func PersistToFile(asset WritableAsset, directory string) error + func SortFiles(files []*File) + type Asset interface + Dependencies func() []Asset + Generate func(Parents) error + Name func() string + type Content struct + Data []byte + Name string + type File struct + Data []byte + Filename string + type FileFetcher interface + FetchByName func(string) (*File, error) + FetchByPattern func(pattern string) ([]*File, error) + type Parents map[reflect.Type]Asset + func (p Parents) Add(assets ...Asset) + func (p Parents) Get(assets ...Asset) + type State struct + Contents []Content + func (s *State) PersistToFile(directory string) error + type Store interface + Destroy func(Asset) error + DestroyState func() error + Fetch func(Asset) error + type WritableAsset interface + Files func() []*File + Load func(FileFetcher) (found bool, err error)