MCPcopy Create free account
hub / github.com/SaptakBhoumik/Peregrine / write

Method write

Peregrine/codegen/cpp/codegen.cpp:67–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65
66
67std::string Codegen::write(std::string_view code) {
68 if(save){
69 res+=code;
70 }
71 else{
72 m_file << code;
73 }
74 return res;
75}
76
77std::string Codegen::searchDefaultModule(std::string path,
78 std::string moduleName) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected