Nix 2.36.0
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 "nix/store/path.hh"
7
8namespace nix {
9
11{
12 std::string name;
13};
14
15// For rapidcheck
16void showValue(const StorePath & p, std::ostream & os);
17
18} // namespace nix
19
20namespace rc {
21
22template<>
23struct Arbitrary<nix::StorePathName>
24{
25 static Gen<nix::StorePathName> arbitrary();
26};
27
28template<>
29struct Arbitrary<nix::StorePath>
30{
31 static Gen<nix::StorePath> arbitrary();
32};
33
34} // namespace rc
Definition path.hh:33
Definition path.hh:11