Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewManifest ¶
func NewManifest(data generic.Map) (m *Manifest, errs ManifestErrors)
Types ¶
type Manifest ¶
func NewEmptyManifest ¶
func NewEmptyManifest() (m *Manifest)
type ManifestDiskRepository ¶
type ManifestDiskRepository struct { }
func (ManifestDiskRepository) ManifestPath ¶
func (repo ManifestDiskRepository) ManifestPath(userSpecifiedPath string) (manifestDir, manifestFilename string, err error)
func (ManifestDiskRepository) ReadManifest ¶
func (repo ManifestDiskRepository) ReadManifest(path string) (m *Manifest, errs ManifestErrors)
type ManifestErrors ¶
type ManifestErrors []error
func (ManifestErrors) Empty ¶
func (errs ManifestErrors) Empty() bool
func (ManifestErrors) Error ¶
func (errs ManifestErrors) Error() (errorMessage string)
func (ManifestErrors) String ¶
func (errs ManifestErrors) String() string
type ManifestRepository ¶
type ManifestRepository interface { ReadManifest(path string) (manifest *Manifest, errs ManifestErrors) ManifestPath(userSpecifiedPath string) (manifestDir, manifestFilename string, err error) }
func NewManifestDiskRepository ¶
func NewManifestDiskRepository() (repo ManifestRepository)
Click to show internal directories.
Click to hide internal directories.