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

Method load_document

src/framework/io/yaml.cpp:128–136  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

126
127private:
128 void load_document(yaml_document_t & document, bool & loaded_flag) {
129 if (loaded_flag) {
130 return;
131 }
132 if (!yaml_parser_load(&parser_, &document)) {
133 throw std::runtime_error(parser_error_message(parser_));
134 }
135 loaded_flag = true;
136 }
137
138 yaml_parser_t parser_{};
139 bool initialized_ = false;

Callers

nothing calls this directly

Calls 2

yaml_parser_loadFunction · 0.85
parser_error_messageFunction · 0.85

Tested by

no test coverage detected