Skip to main content

content_hash

Function content_hash 

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

SHA-256 hex digest of a memory file’s content — used both to populate content_hash on insert and, later, by §4.5 drift detection to compare a live file’s current hash against the last recorded version without storing the live content redundantly.