Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ hash_str
Method
hash_str
crates/common/src/hash.rs:79–81 ·
view source on GitHub ↗
(&self, value: &str)
Source
from the content-addressed store, hash-verified
77
}
78
79
pub fn hash_str(&self, value: &str) -> PyHash {
80
self.hash_bytes(value.as_bytes())
81
}
82
}
83
84
#[inline]
Callers
3
generate_hash
Method · 0.80
key_hash
Method · 0.80
new
Method · 0.80
Calls
2
hash_bytes
Method · 0.80
as_bytes
Method · 0.45
Tested by
no test coverage detected