Skip to main content

content_hash

Function content_hash 

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

Compute a content hash used for optimistic concurrency (same idea as the edit tool’s expected_hash). Uses the std default hasher for zero deps.