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

Function parse_backend

app/cli/args.cpp:92–109  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

90}
91
92std::optional<std::string> find_arg(int argc, char ** argv, const std::string & name) {
93 record_value_query(name);
94 for (int i = 1; i + 1 < argc; ++i) {
95 if (argv[i] == name) {
96 return std::string(argv[i + 1]);
97 }
98 }
99 return std::nullopt;
100}
101
102bool has_arg(int argc, char ** argv, const std::string & name) {
103 record_flag_query(name);
104 for (int i = 1; i < argc; ++i) {
105 if (argv[i] == name) {
106 return true;
107 }
108 }
109 return false;
110}
111
112std::vector<std::string> collect_args(int argc, char ** argv, const std::string & name) {

Callers 3

mainFunction · 0.70
parse_server_backendFunction · 0.50
parse_step_backendFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected