MCPcopy Create free account
hub / github.com/It4innovations/hyperqueue / parse_range

Function parse_range

crates/hyperqueue/src/worker/hwdetect.rs:286–289  ·  view source on GitHub ↗
(input: &str)

Source from the content-addressed store, hash-verified

284}
285
286fn parse_range(input: &str) -> anyhow::Result<Vec<ResourceIndex>> {
287 let parser = terminated(p_cpu_ranges, opt(newline));
288 consume_all(parser, input)
289}
290
291fn parse_comma_separated_values(input: &str) -> anyhow::Result<Vec<String>> {
292 let any_except_comma = map(many1(satisfy(|c| c != ',')), |items| {

Callers 2

read_linux_numaFunction · 0.70

Calls 1

consume_allFunction · 0.85

Tested by

no test coverage detected