|
|
using | Config = DummyStoreConfig |
|
|
| DummyStoreImpl (ref< const Config > config) |
|
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 |
|
StorePath | addToStoreFromDump (Source &source, 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 | registerDrvOutput (const Realisation &output) override |
|
void | narFromPath (const StorePath &path, Sink &sink) override |
|
void | queryRealisationUncached (const DrvOutput &, Callback< std::shared_ptr< const Realisation > > callback) noexcept override |
|
std::shared_ptr< SourceAccessor > | getFSAccessor (const StorePath &path, bool requireValidPath) override |
|
ref< SourceAccessor > | getFSAccessor (bool requireValidPath) override |
|
| ref< WholeStoreViewAccessor > | wholeStoreView = make_ref<WholeStoreViewAccessor>() |
◆ isTrustedClient()
| virtual std::optional< TrustedFlag > nix::DummyStoreImpl::isTrustedClient |
( |
| ) |
|
|
inlineoverridevirtual |
The dummy store is incapable of not trusting! :)
◆ wholeStoreView
| ref<WholeStoreViewAccessor> nix::DummyStoreImpl::wholeStoreView = make_ref<WholeStoreViewAccessor>() |
This view conceptually just borrows the file systems objects of each store object from contents, and combines them together into one store-wide source accessor.
This is needed just in order to implement Store::getFSAccessor.
The documentation for this struct was generated from the following file:
- /builddir/build/BUILD/nix-2.32.6-build/nix-2.32.6/src/libstore/dummy-store.cc