MCPcopy Create free account
hub / github.com/BVLC/caffe / LevelDBTransaction

Method LevelDBTransaction

include/caffe/util/db_leveldb.hpp:34–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32class LevelDBTransaction : public Transaction {
33 public:
34 explicit LevelDBTransaction(leveldb::DB* db) : db_(db) { CHECK_NOTNULL(db_); }
35 virtual void Put(const string& key, const string& value) {
36 batch_.Put(key, value);
37 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected