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

Method ReleaseSnapshot

src/leveldb/db/db_impl.cc:1182–1185  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1180}
1181
1182void DBImpl::ReleaseSnapshot(const Snapshot* snapshot) {
1183 MutexLock l(&mutex_);
1184 snapshots_.Delete(static_cast<const SnapshotImpl*>(snapshot));
1185}
1186
1187// Convenience methods
1188Status DBImpl::Put(const WriteOptions& o, const Slice& key, const Slice& val) {

Callers 2

TESTFunction · 0.45
leveldb_release_snapshotFunction · 0.45

Calls 1

DeleteMethod · 0.45

Tested by 1

TESTFunction · 0.36