Documentation ¶
Index ¶
- func IsStd(p *packages.Package) bool
- func IsStdName(id string) bool
- type Set
- func Calc(ctx context.Context, expr []string) (Set, error)
- func Dependencies(a Set) Set
- func Intersect(a, b Set) Set
- func New(roots ...*packages.Package) Set
- func NewRoot(roots ...*packages.Package) Set
- func Reach(a, b Set) Set
- func Sources(a Set) Set
- func Std() Set
- func Subtract(a, b Set) Set
- func SymmetricDifference(a, b Set) Set
- func Union(a, b Set) Set
- type Tree
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Set ¶
Set is a p.ID -> *packages.Package
func Dependencies ¶ added in v0.0.2
Dependencies returns packages that has removed first layer in the DAG
func SymmetricDifference ¶ added in v0.0.2
SymmetricDifference returns packages that are different
func (Set) IncludeRecursive ¶
IncludeRecursive adds p recursively
func (Set) WalkDependencies ¶ added in v0.0.2
Click to show internal directories.
Click to hide internal directories.