Documentation ¶
Index ¶
- Constants
- func AppConfigPath() string
- func CacheDirTagPath() string
- func CacheNamespace(ns string) string
- func CacheNamespaceScript(ns, script string) string
- func CacheRoot() string
- func ConfigNamespace(ns string) string
- func ConfigNamespaceScript(ns, script string) string
- func ConfigNamespaceScriptConfig(ns, script string) string
- func ConfigNamespaceScriptVault(ns string) string
- func ConfigRoot() string
- func DataNamespace(ns string) string
- func DataNamespaceScript(ns, script string) string
- func DataRoot() string
- func EnsureDir(path string) error
- func EnsureFile(path, content string) error
- func EnsureRoots(namespace, script string) error
- func StateNamespace(ns string) string
- func StateNamespaceScript(ns, script string) string
- func StateRoot() string
- func TempDir() (string, error)
- func TempDirCleanup()
Constants ¶
View Source
const ( CacheDirTagName = "CACHEDIR.TAG" CacheDirTagContent = `` /* 194-byte string literal not displayed */ DirectoryPermission fs.FileMode = 0o755 FilePermission fs.FileMode = 0o644 )
View Source
const ( ChoreDir = "chore" VaultFileName = ".vault" AppConfigFileName = "config.toml" )
Variables ¶
This section is empty.
Functions ¶
func AppConfigPath ¶
func AppConfigPath() string
func CacheDirTagPath ¶
func CacheDirTagPath() string
func CacheNamespace ¶
func CacheNamespaceScript ¶
func ConfigNamespace ¶
func ConfigNamespaceScript ¶
func ConfigRoot ¶
func ConfigRoot() string
func DataNamespace ¶
func DataNamespaceScript ¶
func EnsureFile ¶
func EnsureRoots ¶
func StateNamespace ¶
func StateNamespaceScript ¶
func TempDirCleanup ¶
func TempDirCleanup()
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.