Documentation ¶
Index ¶
- Variables
- func Clear(storePath string) error
- func HasTarget(storePath string, checksum string) (bool, error)
- func HasTemplate(storePath string, checksum string) (bool, error)
- func Path() (string, error)
- func Remove(storePath string, checksum string) error
- func TargetArchive(storePath string, checksum string) (string, error)
- func TemplateArchive(storePath string, checksum string) (string, error)
- func Touch(storePath string) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidInput = errors.New("invalid input") ErrInvalidPath = errors.New("invalid file path") ErrMissingEnvVar = errors.New("missing environment variable") )
View Source
var ( ErrMissingInput = errors.New("missing input") ErrMissingStore = errors.New("missing store") )
Functions ¶
func HasTemplate ¶ added in v0.2.1
Return whether the store has the specified version cached.
func TargetArchive ¶ added in v0.2.1
TargetArchive returns the full path (starting with the store path) to the exported project archive within the store.
NOTE: This does *not* mean the export archive exists.
func TemplateArchive ¶
TemplateArchive returns the full path (starting with the store path) to the export template artifact archive within the store.
NOTE: This does *not* mean the template archive exists.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.