9#ifndef LLVM_CAS_BUILTINUNIFIEDCASDATABASES_H
10#define LLVM_CAS_BUILTINUNIFIEDCASDATABASES_H
23Expected<std::pair<std::unique_ptr<ObjectStore>, std::unique_ptr<ActionCache>>>
29Expected<ValidationResult>
31 bool ForceValidation);
A cache from a key (that describes an action) to the result of performing that action.
Content-addressable storage for objects.
LLVM_ABI Expected< std::pair< std::unique_ptr< ObjectStore >, std::unique_ptr< ActionCache > > > createOnDiskUnifiedCASDatabases(StringRef Path)
Create on-disk ObjectStore and ActionCache instances based on ondisk::UnifiedOnDiskCache,...
LLVM_ABI Expected< ValidationResult > recoverOnDiskUnifiedCASDatabases(StringRef Path)
Recover the builtin on-disk CAS in Path after a failed validation.
LLVM_ABI Expected< ValidationResult > validateOnDiskUnifiedCASDatabasesIfNeeded(StringRef Path, bool CheckHash, bool ForceValidation)
Validate the builtin on-disk CAS in Path in-process, if needed.