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 Put back files for now 2024-07-02 09:26:22 -04:00
build-utils-meson Put back files for now 2024-07-02 09:26:22 -04:00
canon-path.cc Put back files for now 2024-07-02 09:26:22 -04: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 Put back files for now 2024-07-02 09:26:22 -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 Put back files for now 2024-07-02 09:26:22 -04:00
local.mk WIP add testresults output 2024-06-16 16:34:54 +02:00
logging.cc Put back files for now 2024-07-02 09:26:22 -04: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 Put back files for now 2024-07-02 09:26:22 -04: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 Put back files for now 2024-07-02 09:26:22 -04:00
strings.cc Add fresh concatStringsSep without bug 2024-07-13 03:06:24 +02:00
suggestions.cc Put back files for now 2024-07-02 09:26:22 -04: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