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

Function make_metadata

src/models/miocodec/loader.cpp:50–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48 }
49
50 bool can_load(const runtime::ModelLoadRequest & request) const override {
51 if (request.family_hint.has_value() && *request.family_hint != family()) {
52 return false;
53 }
54 try {
55 (void) engine::model_spec::load_resource_bundle(
56 request.model_path,
57 engine::model_spec::default_spec_path(family()));
58 return true;
59 } catch (...) {
60 return false;
61 }

Callers 2

inspectMethod · 0.70
load_miocodec_modelFunction · 0.70

Calls 1

to_stringFunction · 0.50

Tested by

no test coverage detected