# Functions
DigestFromDirectory returns a hash of the specified directory contents, which will match the hash computed for any directory on any supported Go platform whose contents exactly match the specified directory.
DirWalk walks the file tree rooted at osDirname, calling for each file system node in the tree, including root.
ListPackages reports Go package information about all directories in the tree at or below the provided fileRoot.
NewIgnoredRuleset processes a set of strings into an IgnoredRuleset.
VerifyDepTree verifies a dependency tree according to expected digest sums, and returns an associative array of file system nodes and their respective vendor status conditions.
# Constants
DigestMismatchInLock is used when the digest for a dependency listed in the lock file does not match what is calculated from the file system.
EmptyDigestInLock is used when the digest for a dependency listed in the lock file is the empty string.
NoMismatch is used when the digest for a dependency listed in the lockfile matches what is calculated from the file system.
NotInLock is used when a file system node exists for which there is no corresponding dependency in the lock file.
NotInTree is used when a lock file dependency exists for which there is no corresponding file system node.
# Structs
ConflictingImportComments indicates that the package declares more than one different canonical path.
IgnoredRuleset comprises a set of rules for ignoring import paths.
LocalImportsError indicates that a package contains at least one relative import that will prevent it from compiling.
NonCanonicalImportRoot reports the situation when the dependee imports a package via something other than the package's declared canonical path.
Package represents a Go package.
PackageOrErr stores the results of attempting to parse a single directory for Go source code.
A PackageTree represents the results of recursively parsing a tree of packages, starting at the ImportRoot.
ProblemImportError describes the reason that a particular import path is not safely importable.
# Type aliases
DirWalkFunc is the type of the function called for each file system node visited by DirWalk.
ReachMap maps a set of import paths (keys) to the sets of transitively reachable tree-internal packages, and all the tree-external packages reachable through those internal packages.
VendorStatus represents one of a handful of possible status conditions for a particular file sytem node in the vendor directory tree.