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

Method GetOffSet

phxbinlogsvr/core/storage/storage.cpp:137–139  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

135}
136
137size_t Storage::GetOffSet() {
138 return lseek(fd_, 0, SEEK_CUR);
139}
140
141string Storage::GetFileName() {
142 phxsql::LogVerbose("%s get file name %s", __func__, path_.c_str());

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected