Documentation
¶
Overview ¶
Package store tracks derived information for modules. A module is equivalent to a directory on the filesystem.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Content ¶
type Content struct {
Path string // the directory of the module.
Files map[string]*hcl.File // parsed files by unqualified filename.
Diags map[string]hcl.Diagnostics // diags by unqualified filename.
Targets *target.Targets // computed reference targets.
RefMap *target.ReferenceMap // computed reference map.
XRD *XRD // XRD information, if present in the module metadata file.
}
Content contains information being tracked for a module.
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
Store tracks module state for multiple directories.
func (*Store) Exists ¶
Exists returns true if the module store is currently tracking the supplied directory.
func (*Store) Get ¶
Get returns module information for the supplied directory or nil if no such information exists.
Click to show internal directories.
Click to hide internal directories.