re_build_tools::hashing

Function read_versioning_hash

Source
pub fn read_versioning_hash(path: impl AsRef<Path>) -> Option<String>
Expand description

Reads back a versioning hash that was written with write_versioning_hash.

This will automatically emit a rerun-if-changed clause for the specified filepath.

Returns None on error.