MCPcopy Create free account
hub / github.com/apple/foundationdb / sync

Method sync

fdbrpc/AsyncFileEncrypted.actor.cpp:180–183  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

178}
179
180Future<Void> AsyncFileEncrypted::sync() {
181 ASSERT(mode == Mode::APPEND_ONLY);
182 return AsyncFileEncryptedImpl::sync(Reference<AsyncFileEncrypted>::addRef(this));
183}
184
185Future<Void> AsyncFileEncrypted::flush() {
186 ASSERT(mode == Mode::APPEND_ONLY);

Callers 2

syncMethod · 0.45

Calls 1

syncFunction · 0.85

Tested by

no test coverage detected