nix-super/tests/unit/libutil
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
..
data/git Support symlinks properly with git-hashing experimental feature 2024-02-28 12:24:45 -05:00
.version Put back files for now 2024-07-02 09:26:22 -04:00
args.cc Move tests to separate directories, and document 2023-12-01 10:48:58 -05:00
build-utils-meson Put back files for now 2024-07-02 09:26:22 -04:00
canon-path.cc Purify CanonPath 2024-02-16 09:47:25 -05:00
chunked-vector.cc Put back files for now 2024-07-02 09:26:22 -04:00
closure.cc Put back files for now 2024-07-02 09:26:22 -04:00
compression.cc Put back files for now 2024-07-02 09:26:22 -04:00
config.cc Put back files for now 2024-07-02 09:26:22 -04:00
file-content-address.cc Rename Recursive -> NixArchive 2024-06-24 10:24:06 -04:00
git.cc Remove comparator.hh and switch to <=> in a bunch of places 2024-07-12 14:54:18 -04:00
hash.cc Put back files for now 2024-07-02 09:26:22 -04:00
hilite.cc Put back files for now 2024-07-02 09:26:22 -04:00
json-utils.cc ValidPathInfo JSON format should use null not omit field 2024-06-03 08:21:22 -04:00
local.mk WIP add testresults output 2024-06-16 16:34:54 +02:00
logging.cc Rename hintfmt to HintFmt 2024-02-08 11:58:25 -08:00
lru-cache.cc Put back files for now 2024-07-02 09:26:22 -04:00
meson.build Put back files for now 2024-07-02 09:26:22 -04:00
nix_api_util.cc Put back files for now 2024-07-02 09:26:22 -04:00
package.nix packaging: Pass version directly 2024-07-06 17:52:57 +02:00
pool.cc Move tests to separate directories, and document 2023-12-01 10:48:58 -05:00
position.cc getSnippetUpTo: Return optional 2024-07-15 20:10:45 +02:00
references.cc Refactor: rename C++ concatStringsSep -> dropEmptyInitThenConcatStringsSep 2024-07-13 03:05:50 +02:00
spawn.cc Remove lookupPathForProgram and implement initial runProgram test 2024-06-18 01:01:52 -07:00
strings.cc Add fresh concatStringsSep without bug 2024-07-13 03:06:24 +02:00
suggestions.cc Move tests to separate directories, and document 2023-12-01 10:48:58 -05:00
tests.cc Refactor: rename C++ concatStringsSep -> dropEmptyInitThenConcatStringsSep 2024-07-13 03:05:50 +02:00
url.cc isValidSchemeName: Use regex 2023-12-12 17:46:34 +01:00
xml-writer.cc Put back files for now 2024-07-02 09:26:22 -04:00