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

Method SetFileWritePos

phxbinlogsvr/core/storage/storage.cpp:90–92  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

88}
89
90int Storage::SetFileWritePos(const string &path, const size_t &offset, bool trunc) {
91 return SetFilePos(path, offset, MODE::WRITE, trunc);
92}
93
94int Storage::SetFilePos(const string &path, const size_t &offset, const MODE &mode, bool trunc) {
95 if (mode_ != mode) {

Callers 2

OpenNewWriteFileMethod · 0.80
SetWritePosMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected