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

Function workflow_string

app/workflow/workflow.cpp:50–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48};
49
50std::string workflow_string(const engine::io::json::Value & object, const std::string & key) {
51 const auto * value = object.find(key);
52 if (value == nullptr || value->is_null()) {
53 throw std::runtime_error("workflow object missing required string field: " + key);
54 }
55 return value->as_string();
56}
57
58std::istringstream workflow_buffer(const engine::io::json::Value & object, const std::string & key) {
59 const auto str = workflow_string(object, key);

Callers 10

run_batch_inputs_stepFunction · 0.85
run_convert_audio_stepFunction · 0.85
run_model_step_implFunction · 0.85
run_chunked_model_stepFunction · 0.85
run_mix_audio_stepFunction · 0.85
parse_foreach_sourceFunction · 0.85
run_model_step_foreachFunction · 0.85
run_workflow_step_onceFunction · 0.85
run_workflow_stepFunction · 0.85

Calls 2

is_nullMethod · 0.80
findMethod · 0.45

Tested by

no test coverage detected