MCPcopy Create free account
hub / github.com/covscript/covscript / compose_what

Method compose_what

include/covscript/core/components.hpp:54–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52 std::string mFile, mCode, mWhat, mStr;
53
54 static std::string compose_what(const std::string &file, std::size_t line, const std::string &code, const std::string &what)
55 {
56 return "File \"" + file + "\", line " + std::to_string(line) + ": " + what + "\n>\t" + code + "\n";
57 }
58
59 static std::string compose_what_internal(const std::string &file, const std::string &what)
60 {

Callers

nothing calls this directly

Calls 1

to_stringFunction · 0.70

Tested by

no test coverage detected