MCPcopy Create free account
hub / github.com/f0rr0/oliphaunt / value_after

Function value_after

xtask/src/main.rs:9771–9775  ·  view source on GitHub ↗
(args: &'a [String], name: &str)

Source from the content-addressed store, hash-verified

9769}
9770
9771fn value_after<'a>(args: &'a [String], name: &str) -> Option<&'a str> {
9772 args.windows(2)
9773 .find(|window| window[0] == name)
9774 .map(|window| window[1].as_str())
9775}
9776
9777fn run(command: &str, args: &[&str]) -> Result<()> {
9778 let mut command = command_for_host(command);

Callers 7

assetsFunction · 0.85
serialize_aot_cliFunction · 0.85
download_assetsFunction · 0.85
asset_download_targetsFunction · 0.85
install_local_assetsFunction · 0.85
print_aot_ci_matrixFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected