Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { Repository string `json:"repository"` Storage string `json:"storage"` // deprecated }
Config is keepsake.yaml
func FindConfig ¶
FindConfig searches the given directory and any parent directories for keepsake.yaml, then loads it
func FindConfigInWorkingDir ¶
FindConfigInWorkingDir searches working directory and any parent directories for keepsake.yaml (or keepsake.yml) and loads it.
This function can also be used to discover the source dir -- it returns a (config, projectDir) tuple.
If overrideDir is passed, it uses that directory instead.
func LoadConfig ¶
LoadConfig reads and validates keepsake.yaml
Click to show internal directories.
Click to hide internal directories.