Format: lib/path.nix

This commit is contained in:
Johannes Kirschbauer
2025-02-12 15:01:45 +07:00
parent d89ad6c70e
commit ef85e0daa0
-9
View File
@@ -178,7 +178,6 @@ in
append p s == append p (subpath.normalise s)
# Inputs
`path`
@@ -249,7 +248,6 @@ in
- `hasPrefix` is a [non-strict partial order](https://en.wikipedia.org/wiki/Partially_ordered_set#Non-strict_partial_order) over the set of all path values.
# Inputs
`path1`
@@ -309,7 +307,6 @@ in
removePrefix p (append p s) == subpath.normalise s
# Inputs
`path1`
@@ -383,7 +380,6 @@ in
dirOf (splitRoot p).root == (splitRoot p).root
# Inputs
`path`
@@ -443,7 +439,6 @@ in
which occur when Nix files in the store use relative path expressions.
:::
# Inputs
`path`
@@ -517,7 +512,6 @@ in
- The string doesn't contain any `..` path components.
# Inputs
`value`
@@ -598,7 +592,6 @@ in
ps != [] -> subpath.join ps == subpath.normalise (concatStringsSep "/" ps)
# Inputs
`subpaths`
@@ -671,7 +664,6 @@ in
subpath.join (subpath.components s) == subpath.normalise s
# Inputs
`subpath`
@@ -742,7 +734,6 @@ in
builtins.tryEval (subpath.normalise p)).success == subpath.isValid p
# Inputs
`subpath`