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

Function json_optional_string

app/cli/request.cpp:71–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69 if (kArtifactKinds[index].kind != static_cast<engine::runtime::ArtifactKind>(index)) {
70 return false;
71 }
72 }
73 return true;
74}
75
76// Custom is the last ArtifactKind, so a kind added to the enum without a name
77// here fails to build instead of being turned away as unknown.
78static_assert(
79 std::size(kArtifactKinds) == static_cast<size_t>(engine::runtime::ArtifactKind::Custom) + 1 &&
80 artifact_kinds_in_enum_order(),
81 "kArtifactKinds must name every ArtifactKind, in enum order");
82

Callers 2

build_request_from_jsonFunction · 0.85

Calls 2

is_nullMethod · 0.80
findMethod · 0.45

Tested by

no test coverage detected