Nix
2.26.3
Nix, the purely functional package manager; unstable internal interfaces
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 <
path.hh
>
7
8
namespace
nix {
9
10
struct
StorePathName
{
11
std::string name;
12
};
13
14
// For rapidcheck
15
void
showValue(
const
StorePath
&
p
, std::ostream & os);
16
17
}
18
19
namespace
rc {
20
using namespace
nix;
21
22
template
<>
23
struct
Arbitrary<
StorePathName
> {
24
static
Gen<StorePathName> arbitrary();
25
};
26
27
template
<>
28
struct
Arbitrary<
StorePath
> {
29
static
Gen<StorePath> arbitrary();
30
};
31
32
}
nix::StorePath
Definition
path.hh:27
p
std::shared_ptr< T > p
Definition
lexer.l:1269
path.hh
nix::StorePathName
Definition
path.hh:10
src
libstore-test-support
tests
path.hh
Generated by
1.13.2