Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Hash ¶
Hash computes a deterministic hash of pixi.toml + pixi.lock content. Returns "sha-" followed by the first 12 hex characters of the SHA-256 digest. This is used as the default OCI tag for publishing.
func HashBundle ¶ added in v0.10.4
HashBundle is the content-addressed tag input for bundles that carry asset layers. Output matches Hash's format ("sha-" + 12 hex) so the OCI tag shape is stable for both legacy and bundle publishes. Assets are sorted by (path, digest) so slice order does not affect the tag. A nil or empty assets slice reduces to Hash's output over the same pixi files — callers can migrate a single call site without regenerating existing tags.
Types ¶
Click to show internal directories.
Click to hide internal directories.