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

Function require_model_root

src/framework/assets/resource_bundle.cpp:11–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9namespace {
10
11std::filesystem::path require_model_root(const std::filesystem::path & model_root) {
12 if (model_root.empty()) {
13 throw std::runtime_error("asset model_root is required for model-relative resources");
14 }
15 return model_root;
16}
17
18std::filesystem::path resolve_model_file(
19 const std::filesystem::path & model_root,

Callers 1

resolve_model_fileFunction · 0.85

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected