Documentation ¶
Index ¶
- type ModFiles
- func (module *ModFiles) AnyRequires(build bool, quiet bool) (descriptor.Requires, error)
- func (module *ModFiles) BuildRequires(quiet bool) (descriptor.Requires, error)
- func (module *ModFiles) Path() string
- func (module *ModFiles) Provides(quiet bool) (descriptor.Provides, error)
- func (module *ModFiles) Requires(quiet bool) (descriptor.Requires, error)
- func (module *ModFiles) Sources(path string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ModFiles ¶
type ModFiles struct { // The module descriptor Descriptor *descriptor.Descriptor // The module version Version *version.Version // The module root directory filesystem path Root string // A map of the relative paths of the module files within the module, to // whether they will be included in the packed module or not. Files map[string]bool }
A structure holding raw unpacked module file information
func (*ModFiles) AnyRequires ¶
func (*ModFiles) BuildRequires ¶
func (module *ModFiles) BuildRequires(quiet bool) (descriptor.Requires, error)
func (*ModFiles) Provides ¶
func (module *ModFiles) Provides(quiet bool) (descriptor.Provides, error)
Click to show internal directories.
Click to hide internal directories.