Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ sha1
Function
sha1
crates/stdlib/src/sha1.rs:9–11 ·
view source on GitHub ↗
(args: HashArgs, vm: &VirtualMachine)
Source
from the content-addressed store, hash-verified
7
8
#[pyfunction]
9
fn sha1(args: HashArgs, vm: &VirtualMachine) -> PyResult {
10
Ok(local_sha1(args, vm)?.into_pyobject(vm))
11
}
12
}
Callers
nothing calls this directly
Calls
2
local_sha1
Function · 0.85
into_pyobject
Method · 0.45
Tested by
no test coverage detected