Documentation
¶
Index ¶
- Constants
- func Delete(storageType Type, paths ...string) error
- func EnsurePath(storageType Type, paths ...string) (string, error)
- func Exists(storageType Type, paths ...string) (bool, string, error)
- func LocalPath(storageType Type, paths ...string) (string, error)
- func Path(storageType Type, paths ...string) (string, error)
- type Type
Constants ¶
View Source
const ( // Root is storage root Root = iota // Plugins represents plugins storage Plugins )
View Source
const (
StoreVarName = "GILBERT_HOME"
)
Variables ¶
This section is empty.
Functions ¶
func EnsurePath ¶
EnsurePath returns specified storage folder and creates if it not exists
Types ¶
Click to show internal directories.
Click to hide internal directories.