Versions in this module Expand all Collapse all v0 v0.4.1 Jan 25, 2018 v0.4.0 Jan 24, 2018 Changes in this version + func DigestFromDirectory(osDirname string) ([]byte, error) + func DirWalk(osDirname string, walkFn DirWalkFunc) error + func VerifyDepTree(osDirname string, wantSums map[string][]byte) (map[string]VendorStatus, error) + type ConflictingImportComments struct + ConflictingImportComments []string + ImportPath string + func (e *ConflictingImportComments) Error() string + type DirWalkFunc func(osPathname string, info os.FileInfo, err error) error + type IgnoredRuleset struct + func NewIgnoredRuleset(ig []string) *IgnoredRuleset + func (ir *IgnoredRuleset) IsIgnored(path string) bool + func (ir *IgnoredRuleset) Len() int + func (ir *IgnoredRuleset) ToSlice() []string + type LocalImportsError struct + Dir string + ImportPath string + LocalImports []string + func (e *LocalImportsError) Error() string + type NonCanonicalImportRoot struct + Canonical string + ImportRoot string + func (e *NonCanonicalImportRoot) Error() string + type Package struct + CommentPath string + ImportPath string + Imports []string + Name string + TestImports []string + type PackageOrErr struct + Err error + P Package + type PackageTree struct + ImportRoot string + Packages map[string]PackageOrErr + func ListPackages(fileRoot, importRoot string) (PackageTree, error) + func (t PackageTree) Copy() PackageTree + func (t PackageTree) ToReachMap(main, tests, backprop bool, ignore *IgnoredRuleset) (ReachMap, map[string]*ProblemImportError) + func (t PackageTree) TrimHiddenPackages(main, tests bool, ignore *IgnoredRuleset) PackageTree + type ProblemImportError struct + Cause []string + Err error + ImportPath string + func (e *ProblemImportError) Error() string + type ReachMap map[string]struct + func (rm ReachMap) FlattenFn(exclude func(string) bool) []string + type VendorStatus uint8 + const DigestMismatchInLock + const EmptyDigestInLock + const NoMismatch + const NotInLock + const NotInTree + func (ls VendorStatus) String() string