Nix 2.30.1
Nix, the purely functional package manager; unstable internal interfaces
 
Loading...
Searching...
No Matches
nix::DummyStore Struct Reference
Inheritance diagram for nix::DummyStore:

Public Types

using Config = DummyStoreConfig
 

Public Member Functions

 DummyStore (ref< const Config > config)
 
std::string getUri () override
 
void queryPathInfoUncached (const StorePath &path, Callback< std::shared_ptr< const ValidPathInfo > > callback) noexcept override
 
virtual std::optional< TrustedFlag > isTrustedClient () override
 
std::optional< StorePath > queryPathFromHashPart (const std::string &hashPart) override
 
void addToStore (const ValidPathInfo &info, Source &source, RepairFlag repair, CheckSigsFlag checkSigs) override
 
virtual StorePath addToStoreFromDump (Source &dump, std::string_view name, FileSerialisationMethod dumpMethod=FileSerialisationMethod::NixArchive, ContentAddressMethod hashMethod=FileIngestionMethod::NixArchive, HashAlgorithm hashAlgo=HashAlgorithm::SHA256, const StorePathSet &references=StorePathSet(), RepairFlag repair=NoRepair) override
 
void narFromPath (const StorePath &path, Sink &sink) override
 
void queryRealisationUncached (const DrvOutput &, Callback< std::shared_ptr< const Realisation > > callback) noexcept override
 
virtual ref< SourceAccessor > getFSAccessor (bool requireValidPath) override
 

Public Attributes

ref< const Configconfig
 

Member Function Documentation

◆ isTrustedClient()

virtual std::optional< TrustedFlag > nix::DummyStore::isTrustedClient ( )
inlineoverridevirtual

The dummy store is incapable of not trusting! :)


The documentation for this struct was generated from the following file: