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

Function parse_optional_float_arg

app/cli/args.cpp:78–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

76
77std::set<std::string> explicit_key_value_overrides(
78 const std::vector<std::string> & arguments,
79 const std::string & option) {
80 std::set<std::string> keys;
81 for (size_t i = 1; i + 1 < arguments.size(); ++i) {
82 if (arguments[i] != option) {
83 if (value_options().count(arguments[i]) != 0 && i + 1 < arguments.size()) {
84 ++i;
85 }
86 continue;

Callers 2

build_request_from_cliFunction · 0.85

Calls 1

find_argFunction · 0.70

Tested by

no test coverage detected