package
0.0.0-20230120150544-0effba12f4ea
Repository: https://github.com/projectserenity/firefly.git
Documentation: pkg.go.dev
# Functions
AcceptableLicense determines whether the given set of licenses includes at least one acceptable license as described above.
ApplyPatches applies the given set of patch files to the directory specified.
CheckDependencies assesses the dependency set for unused dependencies.
DigestDirectory produces the digest for a directory and its contents in a filesystem.
DigestFiles produces the digest for a set of named files and their contents in a filesystem.
FetchGoModule downloads a Go module using the proxy.golang.org Go module proxy API.
FetchRustCrate downloads a Rust crate using the crates.io API.
fetchVulns fetches/updates the set of vulnerability advisories, then parses them into structured vuln data in OSV format.
GenerateCacheManifest produces the cache manifest, which describes the set of data cached in the vendor directly.
MajorUpdate returns true if the newer version has a different major number, or if both have major version 0 and the newer version has a different minor version.
ParseUpdateDeps parses a deps.bzl file for the set of dependencies so they can be checked for updates.
RenderGoPackageBuildFile generates a build file for the given Go package.
RenderManifest generates a dependency manifest from the given set of dependencies.
RenderRustCrateBuildFile generates a build file for the given Rust crate.
StripCachedActions processes the action sequence, removing any actions that the cache can prove are unnecessary, returning the resulting action sequence.
UpdateDependencies parses the given set of dependencies and checks each for an update, updating the document if possible.
UpdateGoModule checks a Go module for updates, using the proxy.golang.org Go module proxy API.
UpdateRustCrate checks a Rust crate for updates, using the crates.io API.
Vendor takes a filesystem, parses the set of software dependencies in deps.bzl, then produces the sequence of actions necessary to vendor those dependencies into the vendor directory.
# Variables
Licenses is the set of acceptable software licenses, referenced by their SPDX id.
# Structs
BuildCacheManifest indicates that the cache subsystem should scan the vendor filesystem, producing the information necessary to avoid unnecessary future work, writing it to the given path.
CopyBUILD indicates that the named BUILD file should be copied to the given path.
Deps describes a set of software dependencies.
DownloadModule indicates that the named module should be downloaded from the module proxy and extracted into the given path.
DownloadCrate indicates that the named crate should be downloaded from crates.io and extracted into the given path.
GeneratePackageBUILD indicates that the named package should have its BUILD file generated and written to the given path.
GenerateCrateBUILD indicates that the named crate should have its BUILD file generated and written to the given path.
GoModule contains the information necessary to vendor a Go module, specifying the set of packages within the module that are used.
GoPackage describes a package within a Go module.
RustCrate contains the dependency information for a Rust crate.
UpdateDep describes the least information necessary to determine a third-party software library.
UpdateDeps includes a set of dependencies for the purposes of updating them.
Vulns describes the set of vulnerability advisory data for a set of software dependencies.
# Interfaces
Action represents a logical action that should be taken to progress the vendoring of a set of software dependencies.
# Type aliases
RemoveAll deletes a directory, along with any child nodes that exist.