Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Source ¶
type Source struct {
Tags []string // cue build tags
IgnoreNonCueFiles bool
// contains filtered or unexported fields
}
Source parses a directory as a cue module that only processes the cue module once
func NewSource ¶
NewSource returns a new Source. the directory is required, but if fieldPath is empty, the entire cue module will be returned as the value. packageName is required when using a named queue package. Usually this will be of the form ".:<package_name>" ... where the leading "." indicates the subdirectory (relative to dir) to read that package's contents from, and <package_name> indicates which package to read.
Click to show internal directories.
Click to hide internal directories.