diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/path/default.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/path/default.nix b/lib/path/default.nix index 1300f0f09011d..24a7f85affc1d 100644 --- a/lib/path/default.nix +++ b/lib/path/default.nix @@ -319,6 +319,9 @@ in /* No rec! Add dependencies on this file at the top. */ { /* Whether a value is a valid subpath string. + A subpath string points to a specific file or directory within an absolute base directory. + It is a stricter form of a relative path that excludes `..` components, since those could escape the base directory. + - The value is a string - The string is not empty |