Documentation
¶
Index ¶
Constants ¶
View Source
const DefaultFilename = "manifest.wall"
Variables ¶
This section is empty.
Functions ¶
func FindPaths ¶
FindPaths finds the paths marked with "generate:manifest" and returns a map from the manifest path to all the slices that declare it.
func SetDebug ¶
func SetDebug(debug bool)
Enable the delivery of debug messages to the logger. Only meaningful if a logger is also set.
func SetLogger ¶
func SetLogger(logger log_Logger)
Specify the *log.Logger object where log messages should be sent to.
Types ¶
type Report ¶
type Report struct {
// Root is the filesystem path where the all reported content is based.
Root string
// Entries holds all reported content, indexed by their path.
Entries map[string]ReportEntry
// contains filtered or unexported fields
}
Report holds the information about files and directories created when slicing packages.
type ReportEntry ¶
type WriteOptions ¶
type WriteOptions struct {
PackageInfo []*archive.PackageInfo
Selection []*setup.Slice
Report *Report
}
Click to show internal directories.
Click to hide internal directories.