Documentation
¶
Index ¶
Constants ¶
View Source
const ( Root = ".datahop" LockFile = "repo.lock" DefaultDatastoreFolderName = "datastore" // DefaultConfigFile is the filename of the configuration file DefaultConfigFile = "config" DefaultStateFile = "state" )
Variables ¶
View Source
var (
ErrorRepoClosed = errors.New("cannot access config, repo not open")
)
Functions ¶
func ConfigFilename ¶
ConfigFilename returns the configuration file path given a configuration root directory. If the configuration root directory is empty, use the default one
Types ¶
Click to show internal directories.
Click to hide internal directories.