Documentation ¶
Index ¶
- Constants
- Variables
- func SaveCandidateRelease(landmarks layout.Workspace, sagaName SagaName, modName api.ModuleName, ...) error
- func SaveCandidateReplay(landmarks layout.Workspace, sagaName SagaName, modName api.ModuleName, ...) error
- type SagaName
- type Tree
- func (tree Tree) LoadModuleLineage(modName api.ModuleName) (lin *api.Lineage, err error)
- func (tree Tree) LoadModuleMirrors(modName api.ModuleName) (ws *api.WareSourcing, err error)
- func (tree Tree) SaveModuleLineage(modName api.ModuleName, lin api.Lineage) error
- func (tree Tree) SaveModuleMirrors(modName api.ModuleName, ws api.WareSourcing) error
Constants ¶
View Source
const ( LineageFileName = "lineage.tl" MirrorsFileName = "mirrors.tl" )
Variables ¶
View Source
var SagaNameZero = SagaName{}
Functions ¶
func SaveCandidateRelease ¶
Types ¶
type SagaName ¶
type SagaName struct {
// contains filtered or unexported fields
}
func ParseSagaName ¶
type Tree ¶
type Tree struct {
Root string
}
func (Tree) LoadModuleLineage ¶
LoadModuleLineage attempts to load the lineage file for a module from the catalog. The result can never be nil unless there is an error since the lineage file is the one file that's required for the rest of the catalog folder to be recognizable.
func (Tree) LoadModuleMirrors ¶
LoadModuleMirrors attempts to load the mirrors list file for a module from the catalog. The result is nil and nil error iff the file does not exist.
func (Tree) SaveModuleLineage ¶
SaveModuleLineage writes out a linage file for a module to the catalog. The dirs will be created if necessary.
func (Tree) SaveModuleMirrors ¶
SaveModuleMirrors writes out a mirrors list file for a module to the catalog. The lineage must be written first (e.g. the dir must exist).
Directories ¶
Path | Synopsis |
---|---|
Package hitch provides an implementation backed by the filesystem for the interfaces specified by the go.polydawn.net/go-timeless-api/hitch package.
|
Package hitch provides an implementation backed by the filesystem for the interfaces specified by the go.polydawn.net/go-timeless-api/hitch package. |
Click to show internal directories.
Click to hide internal directories.