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
6
namespace
nix {
7
39
struct
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
71
protected
:
72
void
makeSymlink(
const
Path
& link,
const
Path
& target);
73
};
74
75
}
nix::StorePath
Definition
path.hh:27
local-fs-store.hh
nix::IndirectRootStore
Definition
indirect-root-store.hh:40
nix::IndirectRootStore::addIndirectRoot
virtual void addIndirectRoot(const Path &path)=0
nix::IndirectRootStore::addPermRoot
Path addPermRoot(const StorePath &storePath, const Path &gcRoot) override final
Definition
indirect-root-store.cc:18
nix::Path
std::string Path
Definition
types.hh:22
src
libstore
indirect-root-store.hh
Generated by
1.13.2