nix-super/src
Alex Ameen 153ee460c5 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`.
2023-01-22 13:45:02 -06:00
..
build-remote build-remote: Add brackets to error message 2022-11-04 10:49:44 -07:00
libcmd Revert "Merge pull request #6204 from layus/coerce-string" 2023-01-18 01:34:07 +01:00
libexpr primop: add readFileType, optimize readDir 2023-01-22 13:45:02 -06:00
libfetchers Allow to disable global flake-registry with "" 2022-12-12 15:32:02 +01:00
libmain Revert "Merge pull request #6204 from layus/coerce-string" 2023-01-18 01:34:07 +01:00
libstore Add test for OutputsSpec::Names 2023-01-18 16:34:37 +01:00
libutil Revert "Merge pull request #6204 from layus/coerce-string" 2023-01-18 01:34:07 +01:00
nix Revert "Merge pull request #6204 from layus/coerce-string" 2023-01-18 01:34:07 +01:00
nix-build Make it hard to construct an empty OutputsSpec::Names 2023-01-11 19:08:19 -05:00
nix-channel Fix segfault in headerCallback() 2022-03-03 11:11:16 +01:00
nix-collect-garbage Add missing rethrows in conditional exception handlers 2022-06-10 10:52:41 -07:00
nix-copy-closure copyPaths: Pass store by reference 2021-07-22 09:59:51 +02:00
nix-env Revert "Merge pull request #6204 from layus/coerce-string" 2023-01-18 01:34:07 +01:00
nix-instantiate Revert to copyStore = true for nix-instantiate and nix-env 2022-08-23 14:40:27 +02:00
nix-store Fix unused variable warning 2022-12-12 16:41:46 +01:00
resolve-system-dependencies Get rid of most .at calls (#6393) 2022-05-04 07:44:32 +02:00
toml11 Replace cpptoml with toml11 2021-12-17 22:03:33 +01:00