Nix
2.36.0
Nix, the purely functional package manager; unstable internal interfaces
Toggle main menu visibility
Loading...
Searching...
No Matches
path.hh
Go to the documentation of this file.
1
#pragma once
3
4
#include <rapidcheck/gen/Arbitrary.h>
5
6
#include "
nix/store/path.hh
"
7
8
namespace
nix {
9
10
struct
StorePathName
11
{
12
std::string name;
13
};
14
15
// For rapidcheck
16
void
showValue(
const
StorePath
& p, std::ostream & os);
17
18
}
// namespace nix
19
20
namespace
rc {
21
22
template
<>
23
struct
Arbitrary<nix::StorePathName>
24
{
25
static
Gen<nix::StorePathName> arbitrary();
26
};
27
28
template
<>
29
struct
Arbitrary<nix::StorePath>
30
{
31
static
Gen<nix::StorePath> arbitrary();
32
};
33
34
}
// namespace rc
nix::StorePath
Definition
path.hh:33
path.hh
nix::StorePathName
Definition
path.hh:11
libstore-test-support
include
nix
store
tests
path.hh
Generated by
1.18.0