Documentation
¶
Overview ¶
Package config parses downstream.toml.
Index ¶
Constants ¶
View Source
const DefaultPath = "downstream.toml"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Dependent ¶
type Dependent struct {
Name string `toml:"name"`
Repo string `toml:"repo"`
Ref string `toml:"ref,omitempty"`
Subdir string `toml:"subdir,omitempty"`
Test string `toml:"test,omitempty"`
SkipBaseline bool `toml:"skip_baseline,omitempty"`
Source string `toml:"source,omitempty"` // "discover" or "manual"
// Comment is written as a "# ..." line above the [[dependents]]
// header. Used by discover to record why a candidate was picked.
// Not round-tripped; comments are lost on Load.
Comment string `toml:"-"`
}
Click to show internal directories.
Click to hide internal directories.