forked from lix-project/lix
f4ab297b31
`///@file` makes them show up in the internal API dos. A tiny few were missing `#pragma once`.
30 lines
366 B
C++
30 lines
366 B
C++
#pragma once
|
|
///@file
|
|
|
|
#include <rapidcheck/gen/Arbitrary.h>
|
|
|
|
#include <path.hh>
|
|
|
|
namespace nix {
|
|
|
|
struct StorePathName {
|
|
std::string name;
|
|
};
|
|
|
|
}
|
|
|
|
namespace rc {
|
|
using namespace nix;
|
|
|
|
template<>
|
|
struct Arbitrary<StorePathName> {
|
|
static Gen<StorePathName> arbitrary();
|
|
};
|
|
|
|
template<>
|
|
struct Arbitrary<StorePath> {
|
|
static Gen<StorePath> arbitrary();
|
|
};
|
|
|
|
}
|