1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-26 04:00:59 +01:00
nix/doc/manual
Alex Ameen 1a6446b5eb primop: add readFileType, optimize readDir
Allows checking directory entry type of a single file/directory.

This was added to optimize the use of `builtins.readDir` on some
filesystems and operating systems which cannot detect this information
using POSIX's `readdir`.

Previously `builtins.readDir` would eagerly use system calls to lookup
these filetypes using other interfaces; this change makes these
operations lazy in the attribute values for each file with application
of `builtins.readFileType`.

(cherry picked from commit 153ee460c5)
2023-07-31 16:37:44 +02:00
..
src primop: add readFileType, optimize readDir 2023-07-31 16:37:44 +02:00
theme doc/manual: don't need to copy highlight.js manually 2021-08-04 19:47:05 -07:00
anchors.jq doc: Port anchors preprocessor to jq script 2022-05-26 18:17:21 +02:00
book.toml manual: Check links 2023-01-10 22:30:41 +01:00
custom.css Improve margins between sections 2020-08-19 12:31:18 +02:00
generate-builtins.nix refactor rendering documentation of builtins 2022-11-24 14:15:43 +01:00
generate-manpage.nix add missing newline, for consistent formatting 2022-11-30 23:40:53 +01:00
generate-options.nix use HTML anchors for config parameters 2022-12-07 16:18:50 +01:00
local.mk local.mk: Don't log docroot comments 2023-02-13 12:02:46 +00:00
quote-literals.xsl Generate release notes again 2014-03-12 14:24:29 +01:00
redirects.js Remove repeat and enforce-determinism options 2022-12-07 11:36:48 +01:00
utils.nix refactor showOptions 2022-09-30 01:43:53 +02:00