aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/path.hh
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2023-01-23 16:54:45 -0500
committerJohn Ericson <John.Ericson@Obsidian.Systems>2023-01-23 16:54:45 -0500
commite68e8e3cee53ce7debd7c54b0d122d94d1b102a2 (patch)
treed868fcfb339515ffb01b800814a2349e19f0246a /src/libstore/path.hh
parent30610f260d61964a4d91e7f7f590f621ea03fef6 (diff)
parent4540e7b940ca56db821fe7c7d7d79fafa488f55e (diff)
Merge branch 'path-info' into ca-drv-exotic
Diffstat (limited to 'src/libstore/path.hh')
-rw-r--r--src/libstore/path.hh3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libstore/path.hh b/src/libstore/path.hh
index 7f13c11e9..1e5579b90 100644
--- a/src/libstore/path.hh
+++ b/src/libstore/path.hh
@@ -6,7 +6,6 @@
namespace nix {
-class Store;
struct Hash;
class StorePath
@@ -18,6 +17,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);