|
LLVM 23.0.0git
|
This file implements OnDiskKeyValueDB, an ondisk key value database. More...
#include "llvm/CAS/OnDiskKeyValueDB.h"#include "OnDiskCommon.h"#include "llvm/ADT/StringExtras.h"#include "llvm/CAS/OnDiskTrieRawHashMap.h"#include "llvm/CAS/UnifiedOnDiskCache.h"#include "llvm/Support/Alignment.h"#include "llvm/Support/Compiler.h"#include "llvm/Support/Errc.h"#include "llvm/Support/Path.h"Go to the source code of this file.
Functions | |
| static Error | validateOnDiskKeyValueDB (const OnDiskTrieRawHashMap &Cache, size_t ValueSize, OnDiskGraphDB *CAS) |
Variables | |
| static constexpr StringLiteral | ActionCacheFile = "actions." |
This file implements OnDiskKeyValueDB, an ondisk key value database.
The KeyValue database file is named actions.<version> inside the CAS directory. The database stores a mapping between a fixed-sized key and a fixed-sized value, where the size of key and value can be configured when opening the database.
Definition in file OnDiskKeyValueDB.cpp.
|
static |
Definition at line 103 of file OnDiskKeyValueDB.cpp.
References llvm::createStringError(), E(), llvm::cas::ondisk::UnifiedOnDiskCache::getObjectIDFromValue(), llvm::illegal_byte_sequence, llvm::isAddrAligned(), llvm::Offset, llvm::Error::success(), llvm::toString(), llvm::utohexstr(), and llvm::cas::ondisk::OnDiskGraphDB::validateObjectID().
Referenced by llvm::cas::ondisk::OnDiskKeyValueDB::validate().
|
staticconstexpr |
Definition at line 34 of file OnDiskKeyValueDB.cpp.
Referenced by llvm::cas::ondisk::OnDiskKeyValueDB::open().