Documentation
¶
Index ¶
- func Clean(fp string)
- func GetCacheFilepath() string
- type Cache
- func (c *Cache) ListVars()
- func (c *Cache) LoadCommands(id string) []confible.Command
- func (c *Cache) LoadVar(id, varName string) string
- func (c *Cache) LoadVars(id string) map[string]string
- func (c *Cache) Store(cacheFilepath string) error
- func (c *Cache) UpsertCommands(id string, commands []confible.Command)
- func (c *Cache) UpsertVar(id, name, value string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCacheFilepath ¶
func GetCacheFilepath() string
Types ¶
type Cache ¶
type Cache struct {
// contains filtered or unexported fields
}
func (*Cache) UpsertCommands ¶
store only when we processed all commands! Do not update one after another! All at once!
Click to show internal directories.
Click to hide internal directories.