Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ git_branch
Function
git_branch
crates/vm/build.rs:53–55 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
51
}
52
53
fn git_branch() -> String {
54
git(&[
"name-rev"
,
"--name-only"
,
"HEAD"
])
55
}
56
57
fn git(args: &[&str]) -> String {
58
command(
"git"
, args)
Callers
nothing calls this directly
Calls
1
git
Function · 0.85
Tested by
no test coverage detected