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

Function DBSynchronize

src/leveldb/benchmarks/db_bench_tree_db.cc:74–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72static const char* FLAGS_db = nullptr;
73
74inline static void DBSynchronize(kyotocabinet::TreeDB* db_) {
75 // Synchronize will flush writes to disk
76 if (!db_->synchronize()) {
77 fprintf(stderr, "synchronize error: %s\n", db_->error().name());
78 }
79}
80
81namespace leveldb {
82

Callers 1

RunMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected