1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-12-19 15:31:07 +01:00
nix/src/libutil-tests
John Ericson 61de9222b0 Use SRI hash (strings) as the official JSON format for Hash after all
The fact that we were introducing a conversion from the output of `nix
path-info` into the input of `builtins.fetchTree` was the deciding
factor. We want scripting outputs into inputs like that to be easy.

Since JSON strings and objects are trivially distinguishable, we still
have the option of introducing the JSON format as an alternative input
scheme in the future, should we want to. (The output format would still
be SRI in that case, presumably.)
2025-12-08 16:50:25 -05:00
..
data Use SRI hash (strings) as the official JSON format for Hash after all 2025-12-08 16:50:25 -05:00
pch libutil-tests: Improve compile times with PCH 2025-08-17 00:57:06 +03:00
.version Move unit tests to the location Meson expects them to be 2024-10-17 15:42:16 -04:00
alignment.cc libutil: Add alignUp helper function 2025-10-20 21:11:00 +03:00
archive.cc tests: Move invalid nar tests from tests/functional to libutil-tests 2025-10-08 02:02:33 +03:00
args.cc Apply clang-format universally. 2025-07-18 12:47:27 -04:00
base-n.cc Base64 trailing test (from Snix, thanks) 2025-08-06 11:52:11 -04:00
canon-path.cc libutil: Ensure that CanonPath does not contain NUL bytes 2025-10-14 02:33:42 +03:00
checked-arithmetic.cc Apply clang-format universally. 2025-07-18 12:47:27 -04:00
chunked-vector.cc Apply clang-format universally. 2025-07-18 12:47:27 -04:00
closure.cc Apply clang-format universally. 2025-07-18 12:47:27 -04:00
compression.cc Apply clang-format universally. 2025-07-18 12:47:27 -04:00
config.cc Apply clang-format universally. 2025-07-18 12:47:27 -04:00
executable-path.cc Apply clang-format universally. 2025-07-18 12:47:27 -04:00
file-content-address.cc Apply clang-format universally. 2025-07-18 12:47:27 -04:00
file-system.cc More mingw fixes 2025-12-04 17:56:07 +01:00
git.cc nlohmann::json instance and JSON Schema for MemorySourceAccessor 2025-11-20 15:19:24 -05:00
hash.cc Use SRI hash (strings) as the official JSON format for Hash after all 2025-12-08 16:50:25 -05:00
hilite.cc Apply clang-format universally. 2025-07-18 12:47:27 -04:00
json-utils.cc Clean up JSON utils in a few ways 2025-10-25 14:49:51 -04:00
logging.cc Apply clang-format universally. 2025-07-18 12:47:27 -04:00
lru-cache.cc Apply clang-format universally. 2025-07-18 12:47:27 -04:00
memory-source-accessor.cc nlohmann::json instance and JSON Schema for MemorySourceAccessor 2025-11-20 15:19:24 -05:00
meson.build nlohmann::json instance and JSON Schema for MemorySourceAccessor 2025-11-20 15:19:24 -05:00
monitorfdhup.cc Disable MonitorFdHup test on cygwin 2025-11-16 23:33:28 -04:00
nar-listing.cc nlohmann::json instance and JSON Schema for MemorySourceAccessor 2025-11-20 15:19:24 -05:00
nix-meson-build-support rename: build-utils-meson -> nix-meson-build-support 2024-12-09 16:54:42 +01:00
nix_api_util.cc Separate internal from non-internal unit tests of the C API 2025-09-03 22:50:42 +02:00
nix_api_util_internal.cc Separate internal from non-internal unit tests of the C API 2025-09-03 22:50:42 +02:00
package.nix meson: Simplify asan-options handling even more 2025-10-12 19:16:06 +03:00
pool.cc Apply clang-format universally. 2025-07-18 12:47:27 -04:00
position.cc Apply clang-format universally. 2025-07-18 12:47:27 -04:00
processes.cc Expose the nix component in header include paths 2025-04-01 11:40:42 -04:00
sort.cc Minimize the use of C Macros for characterization tests 2025-09-28 09:54:46 -04:00
spawn.cc Apply clang-format universally. 2025-07-18 12:47:27 -04:00
strings.cc strings: Add optionalBracket helper 2025-10-13 13:59:39 +02:00
suggestions.cc Apply clang-format universally. 2025-07-18 12:47:27 -04:00
terminal.cc libutil: amend OSC 8 escape stripping for xterm-style separator 2025-04-29 16:12:18 +01:00
topo-sort.cc refactor(libutil/topo-sort): return variant instead of throwing 2025-11-10 15:04:45 -05:00
url.cc fetchGit: Drop git+ from the url attribute 2025-11-06 16:34:19 +01:00
util.cc progress-bar: use dynamic size units 2025-11-07 23:50:38 +01:00
xml-writer.cc Apply clang-format universally. 2025-07-18 12:47:27 -04:00