MCPcopy Create free account
hub / github.com/ElementsProject/elements / Skip

Method Skip

src/leveldb/util/env_posix.cc:131–136  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

129 }
130
131 Status Skip(uint64_t n) override {
132 if (::lseek(fd_, n, SEEK_CUR) == static_cast<off_t>(-1)) {
133 return PosixError(filename_, errno);
134 }
135 return Status::OK();
136 }
137
138 virtual std::string GetName() const override { return filename_; }
139

Callers

nothing calls this directly

Calls 2

PosixErrorFunction · 0.85
OKFunction · 0.85

Tested by

no test coverage detected