Documentation
¶
Index ¶
- func AddSource(path string, makeDefault bool) (Registry, Source, error)
- func AddSourceWithInit(path string, makeDefault bool, initOptions manifest.InitOptions) (Registry, Source, error)
- func FileChecksum(path string) (string, error)
- func RemoveCopy(record Copy) error
- func RemoveSource(id string) (Registry, Source, bool, error)
- func Save(registry Registry) error
- func SetDefault(id string) (Registry, Source, bool, error)
- func UpsertCopy(record Copy) error
- type Copy
- type ErrState
- type Registry
- type Source
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddSourceWithInit ¶
func FileChecksum ¶
func RemoveCopy ¶
func UpsertCopy ¶
Types ¶
type Registry ¶
func (Registry) CopyByEntry ¶
func (Registry) CopyByTarget ¶
func (Registry) EnabledSources ¶
Click to show internal directories.
Click to hide internal directories.