Skip to main content

content_hash

Function content_hash 

Source
pub fn content_hash(text: &str) -> String
Expand description

Stable 16-hex (64-bit) SHA-256 prefix of already-extracted content, for cheap change-detection across runs. Mirrors the item-id construction (lowercase hex, first 8 bytes); 64 bits is ample to flag “this body changed”.