MCPcopy Create free account
hub / github.com/ByConity/ByConity / getPerServerPath

Method getPerServerPath

base/daemon/GraphiteWriter.cpp:42–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40
41
42std::string GraphiteWriter::getPerServerPath(const std::string & server_name, const std::string & root_path)
43{
44 std::string path = root_path + "." + server_name;
45 std::replace(path.begin() + root_path.size() + 1, path.end(), '.', '_');
46 return path;
47}

Callers

nothing calls this directly

Calls 3

beginMethod · 0.45
sizeMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected