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

Method SetFileReadPos

phxbinlogsvr/core/storage/storage.cpp:86–88  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84}
85
86int Storage::SetFileReadPos(const string &path, const size_t &offset) {
87 return SetFilePos(path, offset, MODE::READ);
88}
89
90int Storage::SetFileWritePos(const string &path, const size_t &offset, bool trunc) {
91 return SetFilePos(path, offset, MODE::WRITE, trunc);

Callers 2

SetReadPosMethod · 0.80
GetDataMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected