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

Method Append

src/leveldb/db/fault_injection_test.cc:180–186  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

178}
179
180Status TestWritableFile::Append(const Slice& data) {
181 Status s = target_->Append(data);
182 if (s.ok() && env_->IsFilesystemActive()) {
183 state_.pos_ += data.size();
184 }
185 return s;
186}
187
188Status TestWritableFile::Close() {
189 writable_file_opened_ = false;

Callers 1

TruncateFunction · 0.45

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected