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

Method SyncParent

src/leveldb/db/fault_injection_test.cc:205–211  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

203}
204
205Status TestWritableFile::SyncParent() {
206 Status s = SyncDir(GetDirName(state_.filename_));
207 if (s.ok()) {
208 env_->DirWasSynced();
209 }
210 return s;
211}
212
213Status TestWritableFile::Sync() {
214 if (!env_->IsFilesystemActive()) {

Callers

nothing calls this directly

Calls 3

SyncDirFunction · 0.85
GetDirNameFunction · 0.85
DirWasSyncedMethod · 0.80

Tested by

no test coverage detected