1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-12 13:36:02 +01:00
nix/src
Robert Hensing 61a4d3d45c getSnippetUpTo: Return optional
This makes it possible to certain discern failures from empty
snippets, which I think is an ok review comment.

Maybe it should do so for swapped column indexes too, but I'm not
sure.

I don't think it matters in the grand scheme. We don't even have
a real use case for `nullopt` now anyway.

Since we don't have a use case, I'm not applying this logic to
higher level functions yet.
2024-07-15 20:10:45 +02:00
..
build-remote dropEmptyInitThenConcatStringsSep -> concatStringSep: diagnostics and docs 2024-07-13 03:06:24 +02:00
external-api-docs packaging: Pass version directly 2024-07-06 17:52:57 +02:00
internal-api-docs packaging: Pass version directly 2024-07-06 17:52:57 +02:00
libcmd Revert "Use HintFmt for doc comments" 2024-07-15 19:56:40 +02:00
libexpr getSnippetUpTo: Return optional 2024-07-15 20:10:45 +02:00
libexpr-c Remove comparator.hh and switch to <=> in a bunch of places 2024-07-12 14:54:18 -04:00
libfetchers Remove comparator.hh and switch to <=> in a bunch of places 2024-07-12 14:54:18 -04:00
libflake dropEmptyInitThenConcatStringsSep -> concatStringSep: diagnostics and docs 2024-07-13 03:06:24 +02:00
libmain dropEmptyInitThenConcatStringsSep -> concatStringSep: diagnostics and docs 2024-07-13 03:06:24 +02:00
libstore concatStrings: Give compiler access to definition for inlining 2024-07-14 12:20:45 +02:00
libstore-c packaging: Pass version directly 2024-07-06 17:52:57 +02:00
libutil getSnippetUpTo: Return optional 2024-07-15 20:10:45 +02:00
libutil-c packaging: Pass version directly 2024-07-06 17:52:57 +02:00
nix dropEmptyInitThenConcatStringsSep -> concatStringSep: sigs are not empty 2024-07-13 03:06:24 +02:00
nix-build No global settings in libnixfetchers and libnixflake 2024-07-12 08:50:28 -04:00
nix-channel downloadFile(): Remove the "locked" (aka "immutable") flag 2024-04-08 15:56:16 +02:00
nix-collect-garbage inline the usage of nix::readDirectory 2024-05-12 17:42:18 +05:30
nix-copy-closure Restrict some code to StoreDirConfig 2023-11-04 19:05:36 -04:00
nix-env No global settings in libnixfetchers and libnixflake 2024-07-12 08:50:28 -04:00
nix-instantiate No global settings in libnixfetchers and libnixflake 2024-07-12 08:50:28 -04:00
nix-store Solve unused header warnings reported by clangd 2024-07-12 15:37:54 +02:00
perl packaging: Pass version directly 2024-07-06 17:52:57 +02:00
nix-expr-test-support Put back files for now 2024-07-02 09:26:22 -04:00
nix-expr-tests Put back files for now 2024-07-02 09:26:22 -04:00
nix-fetchers-tests Put back files for now 2024-07-02 09:26:22 -04:00
nix-flake-tests Put back files for now 2024-07-02 09:26:22 -04:00
nix-store-test-support Put back files for now 2024-07-02 09:26:22 -04:00
nix-store-tests Put back files for now 2024-07-02 09:26:22 -04:00
nix-util-test-support Put back files for now 2024-07-02 09:26:22 -04:00
nix-util-tests Put back files for now 2024-07-02 09:26:22 -04:00