Skip to main content

rev_of_text

Function rev_of_text 

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

A revision for a file’s text: it changes whenever the text does. Used so that a writer must have seen the current version of a node before it may replace it. FNV-1a, so the same text gives the same revision everywhere.