Skip to main content

digest_artifact

Function digest_artifact 

Source
pub fn digest_artifact(
    path: &Utf8Path,
    kind: ArtifactDigestKind,
) -> Result<ArtifactDigest, ArtifactDigestError>
Expand description

Hash a complete APK or Apple application tree with stable path ordering and framing.

The root and every traversed entry are inspected without following a root symlink. Internal bundle symlinks are represented by their target text and must resolve within the bundle.

ยงErrors

Returns an error for missing paths, unsafe symlinks, unsupported filesystem entries, non-UTF-8 paths, concurrent truncation, or filesystem I/O failures.