MCPcopy Create free account
hub / github.com/Tencent/phxsql / GetFileInfo

Method GetFileInfo

phxbinlogsvr/core/storage/storage.cpp:146–148  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

144}
145
146pair<string, size_t> Storage::GetFileInfo() {
147 return make_pair(path_, GetOffSet());
148}
149
150int Storage::WriteData(const string &data) {
151 return WriteData((const void *) data.c_str(), data.size());

Callers 2

GetReadFileInfoMethod · 0.80
GetWriteFileInfoMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected