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

Function required_path

tests/core/model_load_bench.cpp:30–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28}
29
30std::filesystem::path required_path(int argc, char ** argv, const std::string & name) {
31 if (const auto value = arg_value(argc, argv, name)) {
32 return std::filesystem::path(*value);
33 }
34 throw std::runtime_error("missing required argument: " + name);
35}
36
37} // namespace
38

Callers 1

mainFunction · 0.85

Calls 1

arg_valueFunction · 0.70

Tested by

no test coverage detected