Skip to main content

Module derived_version

Module derived_version 

Source

Constants§

DERIVED_VERSION_PREFIX
Marks a version derived from a package’s bytes rather than written in a sidecar.
LEGACY_DEFAULT_VERSION 🔒
What every unversioned package got before the manifest became a pure function of the files on disk.

Functions§

derived_version
sha- + the first 8 hex chars of the sha256: the same on every rebuild and replica, and different for every payload, unlike the old fixed 0.0.0.
is_chosen_version
A version a person chose, as opposed to the legacy default or a derived one.