MCPcopy Create free account
hub / github.com/appdevforall/CodeOnTheGo / to_string

Method to_string

subprojects/llama.cpp/common/jinja/caps.cpp:75–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73}
74
75std::string caps::to_string() const {
76 std::ostringstream ss;
77 ss << "Caps(\n";
78 for (const auto & [key, value] : to_map()) {
79 ss << " " << key << "=" << (value ? "true" : "false") << "\n";
80 }
81 ss << ")";
82 return ss.str();
83}
84
85caps caps_get(jinja::program & prog) {
86 caps result;

Callers 1

caps_getFunction · 0.45

Calls 1

strMethod · 0.45

Tested by

no test coverage detected