Skip to main content

content_digest_files

Function content_digest_files 

Source
pub fn content_digest_files(files: &[BundleImportFile]) -> String
Expand description

SHA-256 content digest for files-mode input (§3.0.5, round 6) — hashes parse_bundle_import’s own effective, order-resolved representation (dedup_files_by_path’s normalize-then-first-wins reduction, sorted by normalized key), not the raw input array. This makes the digest order-independent for genuinely equivalent inputs while remaining sensitive to any reordering that would actually change which entry the parser’s first-wins rule keeps.