Expand description
Modules
Functions
- Calculate the hash of the given kind by trying to read the file from disk at
data_path
or falling back on the mapped content indata
.Ok(desired_hash)
orErr(Some(actual_hash))
is returned if the hash matches or mismatches. If theErr(None)
is returned, the operation was interrupted. - Returns the
index
at which the followingindex + 1
value is not an increment over the value atindex
.