nix_compat::nixhash

Function from_nix_str

Source
pub fn from_nix_str(s: &str) -> NixHashResult<NixHash>
Expand description

Parses a Nix hash string ($algo:$digest) to a NixHash.