MCPcopy Create free account
hub / github.com/couchbase/forestdb / fdb_status fdb_commit

Function fdb_status fdb_commit

src/forestdb.cc:3709–3718  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3707}
3708
3709LIBFDB_API
3710fdb_status fdb_commit(fdb_file_handle *fhandle, fdb_commit_opt_t opt)
3711{
3712 if (!fhandle) {
3713 return FDB_RESULT_INVALID_HANDLE;
3714 }
3715
3716 return _fdb_commit(fhandle->root, opt,
3717 !(fhandle->root->config.durability_opt & FDB_DRB_ASYNC));
3718}
3719
3720fdb_status _fdb_commit(fdb_kvs_handle *handle, fdb_commit_opt_t opt, bool sync)
3721{

Callers

nothing calls this directly

Calls 1

_fdb_commitFunction · 0.85

Tested by

no test coverage detected