Nix 2.93.3
Lix: A modern, delicious implementation of the Nix package manager; unstable internal interfaces
Loading...
Searching...
No Matches
indirect-root-store.hh
Go to the documentation of this file.
1#pragma once
3
5
6namespace nix {
7
15struct IndirectRootStore : public virtual LocalFSStore
16{
17 inline static std::string operationName = "Indirect GC roots registration";
18
34 kj::Promise<Result<Path>>
35 addPermRoot(const StorePath & storePath, const Path & gcRoot) override final;
36
46 virtual kj::Promise<Result<void>> addIndirectRoot(const Path & path) = 0;
47};
48
49}
Definition local-fs-store.hh:36
Definition path.hh:21
Definition indirect-root-store.hh:16
kj::Promise< Result< Path > > addPermRoot(const StorePath &storePath, const Path &gcRoot) override final
Definition gc.cc:63
virtual kj::Promise< Result< void > > addIndirectRoot(const Path &path)=0
std::string Path
Definition types.hh:28