Documentation
¶
Index ¶
- Constants
- func CacheDirPath(h hash.Hash) (dir string, err error)
- func CacheRootDirPath() (cacheRootDirPath string, err error)
- func CachedExePath(h hash.Hash, base string) (cachedExePath string, err error)
- func Camel2Kebab(sIn string) (s string)
- func InfoFilePath(h hash.Hash) (infoFile string, err error)
- func Kebab2Camel(sIn string) (s string)
- func LinksDirPath() (path string, err error)
- func RegisterManagerFactory(name string, fn NewManagerFn, priorityWeight int)
- func SetHomeDirPath(dirPath string)
- type BuildInfo
- type CommandBaseInfo
- type Factory
- type FileInfo
- type Manager
- type NewManagerFn
Constants ¶
View Source
const InfoFileBase = ".info.json"
Variables ¶
This section is empty.
Functions ¶
func CacheRootDirPath ¶
func Camel2Kebab ¶
func Kebab2Camel ¶
func LinksDirPath ¶
func RegisterManagerFactory ¶
func RegisterManagerFactory(name string, fn NewManagerFn, priorityWeight int)
func SetHomeDirPath ¶
func SetHomeDirPath(dirPath string)
SetHomeDirPath should be available only for testing?
Types ¶
type BuildInfo ¶
type CommandBaseInfo ¶
type Factory ¶
type Factory struct {
Name string
PriorityWeight int
NewManager NewManagerFn
}
type FileInfo ¶
func GetFileInfo ¶
type NewManagerFn ¶
Click to show internal directories.
Click to hide internal directories.