Nix 2.26.3
Nix, the purely functional package manager; unstable internal interfaces
 
Loading...
Searching...
No Matches
indirect-root-store.hh
Go to the documentation of this file.
1#pragma once
3
4#include "local-fs-store.hh"
5
6namespace nix {
7
39struct IndirectRootStore : public virtual LocalFSStore
40{
41 inline static std::string operationName = "Indirect GC roots registration";
42
58 Path addPermRoot(const StorePath & storePath, const Path & gcRoot) override final;
59
69 virtual void addIndirectRoot(const Path & path) = 0;
70
71protected:
72 void makeSymlink(const Path & link, const Path & target);
73};
74
75}
Definition path.hh:27
Definition indirect-root-store.hh:40
virtual void addIndirectRoot(const Path &path)=0
Path addPermRoot(const StorePath &storePath, const Path &gcRoot) override final
Definition indirect-root-store.cc:18
std::string Path
Definition types.hh:22