Expand description
Tracks inputs and outputs by digest to help caching.
When a package is built, we keep track of all the inputs used to construct that package, as well as the output file name. This information is then converted into an ArtifactManifest, which tracks the digests of all those inputs, and this manifest is written to the CACHE_SUBDIRECTORY within the output directory.
When re-building, we can look up this manifest: if all the inputs to build a package are the same, the output should be the same, so we can use the cached output to avoid an unnecessary package construction step.
Structs§
- Artifact
Manifest - Cache
- Provides access to a set of manifests describing packages.
Enums§
- Cache
Error - Errors that can be returned when looking up cached artifacts.