Documentation
¶
Index ¶
Constants ¶
View Source
const ConfigFileName string = "module.toml"
Variables ¶
View Source
var DefaultConfig []byte
Functions ¶
This section is empty.
Types ¶
type Conditions ¶
type Config ¶
type Config struct {
Root string `toml:"root"`
Ignore []string `toml:"ignore"`
Dependencies []string `toml:"dependencies"`
ModuleDependencies []string `toml:"module_dependencies"`
Conditions Conditions `toml:"conditions"`
Hooks Hooks `toml:"hooks"`
TemplateVariables map[string]string `toml:"variables"`
}
func LoadConfig ¶
func (*Config) GetPathFields ¶
type Module ¶
type Module struct {
Name string
Config *Config
State *state.ModuleState
}
func Load ¶
func Load(dotfilesDir, moduleName string, moduleState *state.ModuleState) (*Module, error)
func (*Module) CheckBinaryDependencies ¶
func (*Module) CheckConditions ¶
func (*Module) CheckModuleDependencies ¶
func (*Module) IsSymlinkManaged ¶
Click to show internal directories.
Click to hide internal directories.