Documentation ¶
Index ¶
- type Dependency
- type Graph
- func (g *Graph) EnsureVisibility(from, to string)
- func (g *Graph) FormatFiles() error
- func (g *Graph) FormatFilesWithWriter(out io.Writer, format string) error
- func (g *Graph) LoadFile(path string) (*build.File, error)
- func (g *Graph) SetFile(path string, file *build.File)
- func (g *Graph) WithExperimentalDirs(dirs ...string) *Graph
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dependency ¶
type Graph ¶
type Graph struct {
// contains filtered or unexported fields
}
func (*Graph) EnsureVisibility ¶
EnsureVisibility registers a dependency between two targets in different packages. This is used to ensure the targets are visible to each other.
func (*Graph) FormatFiles ¶
func (*Graph) FormatFilesWithWriter ¶ added in v1.7.0
func (*Graph) SetFile ¶
SetFile can be used to override a filepath with a given build file. This is useful for testing.
func (*Graph) WithExperimentalDirs ¶ added in v1.6.1
Click to show internal directories.
Click to hide internal directories.