Documentation
¶
Index ¶
Constants ¶
View Source
const ModuleManifestFilename = "bagl.mod"
Variables ¶
View Source
var ErrInvalidManifest = errors.New("invalid manifest")
Functions ¶
This section is empty.
Types ¶
type BuildList ¶
type BuildList map[VersionedModule]bool
func ConstructBuildList ¶
func ConstructBuildList(g BuildListGraph, root VersionedModule) (BuildList, error)
func (BuildList) ToSlice ¶
func (s BuildList) ToSlice() []VersionedModule
type BuildListGraph ¶
type BuildListGraph interface {
GetDependencies(vmod VersionedModule) ([]VersionedModule, error)
}
type PackageResolver ¶
type PackageResolver struct {
// contains filtered or unexported fields
}
func NewPackageResolver ¶
func NewPackageResolver() *PackageResolver
func (*PackageResolver) AddModule ¶
func (r *PackageResolver) AddModule(module *Module) error
func (*PackageResolver) ResolvePackage ¶
func (r *PackageResolver) ResolvePackage(packageName string) (*Package, error)
type Requirement ¶
type VersionedModule ¶
Click to show internal directories.
Click to hide internal directories.