1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-05 04:01:47 +02:00

Make readFileType doc string consistent

The primitive `readFileType p` has a list of acceptable types, and so does `readDir path`

This edit makes the formatting of the list consistent between themselves, and other parts of the documentation.
This commit is contained in:
Parker Jones 2024-12-27 01:11:36 -05:00 committed by GitHub
parent bff9296ab9
commit cf69c99f3e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2045,7 +2045,7 @@ static RegisterPrimOp primop_readFileType({
.args = {"p"},
.doc = R"(
Determine the directory entry type of a filesystem node, being
one of "directory", "regular", "symlink", or "unknown".
one of `"directory"`, `"regular"`, `"symlink"`, or `"unknown"`.
)",
.fun = prim_readFileType,
});