Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PerroEngine/Perro
/ passthrough_args
Function
passthrough_args
perro_source/devtools/perro_cli/src/script_tests.rs:58–63 ·
view source on GitHub ↗
(args: &[String])
Source
from the content-addressed store, hash-verified
56
}
57
58
fn passthrough_args(args: &[String]) -> &[String] {
59
let Some(idx) = args.iter().position(|arg| arg ==
"--"
) else {
60
return &[];
61
};
62
&args[idx + 1..]
63
}
Callers
1
test_command
Function · 0.70
Calls
2
position
Method · 0.45
iter
Method · 0.45
Tested by
no test coverage detected