Files
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
..
2023-01-10 22:30:41 +01:00
2020-08-19 12:31:18 +02:00
2023-02-13 12:02:46 +00:00
2022-09-30 01:43:53 +02:00