Files
nix/tests
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
..
2022-11-23 12:06:47 -05:00
2020-04-14 18:45:06 +02:00
2022-09-26 16:57:06 +02:00
2021-07-07 10:48:47 +02:00
2019-12-13 19:05:26 +01:00
2022-12-08 16:03:20 -05:00
2023-01-18 16:09:36 +00:00
2014-08-21 21:50:19 +02:00
2022-12-06 16:36:42 +01:00
2022-12-09 17:35:40 +01:00
2022-08-17 11:36:58 +02:00
2023-01-08 14:38:34 +01:00
2021-07-07 11:30:35 +02:00
2018-02-13 14:26:19 +00:00
2022-06-02 21:21:10 +02:00
2020-07-30 16:38:04 -05:00
2022-06-22 23:33:15 +02:00
2022-03-11 10:00:19 -05:00
2022-12-13 00:50:43 +01:00
2022-01-19 14:24:14 +01:00
2006-07-21 13:21:43 +00:00
2022-12-12 16:55:42 +01:00
2023-02-14 15:50:29 +00:00
2021-01-21 11:02:09 +01:00
2022-05-13 22:02:28 +02:00
2020-07-30 16:38:04 -05:00
2022-06-22 23:33:15 +02:00
2018-01-16 19:23:18 +01:00
2021-10-15 16:58:21 +02:00
2018-01-16 19:23:18 +01:00
2018-02-25 16:40:05 -06:00
2016-04-11 16:20:15 +02:00
2023-01-08 14:38:34 +01:00
2021-12-07 21:45:09 +01:00
2007-08-13 13:15:02 +00:00
2022-01-26 14:15:03 +01:00
2012-12-04 14:47:50 +01:00
2021-04-09 23:13:08 +02:00