mirror of
https://github.com/NixOS/nix
synced 2025-07-01 16:41:47 +02:00
Test store paths, with property tests
The property test in fact found a bug: we were excluding numbers!
This commit is contained in:
parent
685395332d
commit
018e2571aa
8 changed files with 228 additions and 8 deletions
|
@ -16,6 +16,8 @@ public:
|
|||
/* Size of the hash part of store paths, in base-32 characters. */
|
||||
constexpr static size_t HashLen = 32; // i.e. 160 bits
|
||||
|
||||
constexpr static size_t MaxPathLen = 211;
|
||||
|
||||
StorePath() = delete;
|
||||
|
||||
StorePath(std::string_view baseName);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue