Version: v0.0.0-...-499d384 Latest Latest

This package is not in the latest version of its module.

Go to latest
Published: Oct 8, 2015 License: MIT Imports: 3 Imported by: 0




This section is empty.


This section is empty.


This section is empty.


type PGraph

type PGraph map[Pkg]PSet

func NewPGraph

func NewPGraph() PGraph

func (PGraph) AddImports

func (g PGraph) AddImports(p Pkg, extra PSet) PGraph

func (PGraph) Imports

func (g PGraph) Imports(p Pkg) (PSet, bool)

func (PGraph) Packages

func (g PGraph) Packages() PSet

func (PGraph) Walk

func (g PGraph) Walk(visit func(Pkg, PSet))

type PSet

type PSet map[Pkg]bool

func NewPSet

func NewPSet(ps ...Pkg) PSet

func (PSet) Add

func (s PSet) Add(p Pkg)

func (PSet) AddAll

func (s PSet) AddAll(t PSet)

func (PSet) Contains

func (s PSet) Contains(p Pkg) bool

func (PSet) ContainsAll

func (s PSet) ContainsAll(t PSet) bool

func (PSet) Equals

func (s PSet) Equals(t PSet) bool

func (PSet) Size

func (s PSet) Size() int

func (PSet) String

func (s PSet) String() string

func (PSet) Walk

func (s PSet) Walk(visit func(p Pkg))

type Pkg

type Pkg string

func (Pkg) HasSubpackage

func (p Pkg) HasSubpackage(q Pkg) bool

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL