modfiles

package
v0.0.0-...-5c4efe0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 10, 2020 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

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 (module *ModFiles) AnyRequires(build bool,
	quiet bool) (descriptor.Requires, error)

func (*ModFiles) BuildRequires

func (module *ModFiles) BuildRequires(quiet bool) (descriptor.Requires, error)

func (*ModFiles) Path

func (module *ModFiles) Path() string

func (*ModFiles) Provides

func (module *ModFiles) Provides(quiet bool) (descriptor.Provides, error)

func (*ModFiles) Requires

func (module *ModFiles) Requires(quiet bool) (descriptor.Requires, error)

func (*ModFiles) Sources

func (module *ModFiles) Sources(path string) error

Lists the source files of a Go package, without using the “go list” command

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL