docs: fix typo: readDir -> dirOf (#406379)

This commit is contained in:
Aleksana
2025-05-14 19:47:08 +08:00
committed by GitHub
+1 -1
View File
@@ -382,7 +382,7 @@ in
(splitRoot p).root
(splitRoot p).subpath
- Trying to get the parent directory of `root` using [`readDir`](https://nixos.org/manual/nix/stable/language/builtins.html#builtins-readDir) returns `root` itself:
- Trying to get the parent directory of `root` using [`dirOf`](https://nixos.org/manual/nix/stable/language/builtins.html#builtins-dirOf) returns `root` itself:
dirOf (splitRoot p).root == (splitRoot p).root