MCPcopy Create free account
hub / github.com/Palm1r/QodeAssist / PrintTo

Function PrintTo

test/DocumentContextReaderTest.cpp:14–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12namespace QodeAssist::PluginLLMCore {
13
14void PrintTo(const ContextData &data, std::ostream *os)
15{
16 *os << "ContextData{prefix="
17 << (data.prefix ? data.prefix->toStdString() : "<nullopt>")
18 << ", suffix=" << (data.suffix ? data.suffix->toStdString() : "<nullopt>")
19 << ", fileContext=" << (data.fileContext ? data.fileContext->toStdString() : "<nullopt>")
20 << "}";
21}
22
23} // namespace QodeAssist::PluginLLMCore
24

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected