Anonymous View
LLVM 23.0.0git
OnDiskKeyValueDB.cpp File Reference

This file implements OnDiskKeyValueDB, an ondisk key value database. More...

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."

Detailed Description

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.

Function Documentation

◆ validateOnDiskKeyValueDB()

Variable Documentation

◆ ActionCacheFile

StringLiteral ActionCacheFile = "actions."
staticconstexpr

Definition at line 34 of file OnDiskKeyValueDB.cpp.

Referenced by llvm::cas::ondisk::OnDiskKeyValueDB::open().