Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Files ¶
type Files struct { // The module root directory fileystem path Root string // The module version Version *version.Version // The module descriptor Descriptor *descriptor.Descriptor `json:"-"` // The list of the relative module paths of the files that will be included Selected []string `json:",omitempty"` // The list of the relative module paths of the files ignored after filtering Ignored []string `json:",omitempty"` }
func New ¶
New converts a modfiles.ModFiles structure to a Files structure, without changing path state
func (*Files) MTime ¶
MTime returns the most recent modification time of the selected files within a module
func (*Files) ModFiles ¶
ModFiles converts back to a modfiles.ModFiles structure when needed
func (*Files) PathProvides ¶
func (module *Files) PathProvides() descriptor.Provides
PathProvides returns the provides associated with the module paths
Click to show internal directories.
Click to hide internal directories.