MCPcopy Create free account
hub / github.com/0xShug0/audio.cpp / optional_path_arg

Function optional_path_arg

app/cli/args.cpp:85–90  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83 if (value_options().count(arguments[i]) != 0 && i + 1 < arguments.size()) {
84 ++i;
85 }
86 continue;
87 }
88 const auto separator = arguments[i + 1].find('=');
89 if (separator != std::string::npos && separator > 0) {
90 keys.insert(arguments[i + 1].substr(0, separator));
91 }
92 ++i;
93 }

Callers 5

has_batch_inputFunction · 0.85
has_vad_chunk_optionFunction · 0.85
run_streamingFunction · 0.85
mainFunction · 0.85

Calls 1

find_argFunction · 0.70

Tested by

no test coverage detected