Documentation
¶
Overview ¶
Package config loads and validates Synapse workspace files (SYN-12).
Index ¶
Constants ¶
View Source
const ( // CurrentVersion is the only supported synapse.yaml version. CurrentVersion = 1 // DefaultFileName is looked up when Load is given a directory. DefaultFileName = "synapse.yaml" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Workspace ¶
type Workspace struct {
Version int `yaml:"version"`
Repos []Repo `yaml:"repos"`
// ConfigPath is the absolute path to the loaded yaml (set by Load).
ConfigPath string `yaml:"-"`
// ConfigDir is the directory containing the yaml (paths resolve relative to it).
ConfigDir string `yaml:"-"`
}
Workspace is a multi-repo Synapse workspace definition.
Click to show internal directories.
Click to hide internal directories.