Documentation
¶
Index ¶
- type Package
- func (p *Package) AssetsDir(assetsDir string) string
- func (p *Package) AssetsPath(assetsPath string) string
- func (p *Package) CacheDir(cacheDir string) string
- func (p *Package) HasAssets(rootDir string, assetsDir string) bool
- func (p *Package) HasCache(rootDir string, cacheDir string) bool
- func (p *Package) MakeAssets(rootDir string, cacheDir string, assetsDir string) error
- func (p *Package) MakeCache(rootDir string, cacheDir string, src string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Package ¶
func (*Package) AssetsPath ¶
AssetsPath returns the assets path for the current package
func (*Package) MakeAssets ¶
MakeAssets copies the cache files to the asset path without the version
Click to show internal directories.
Click to hide internal directories.