lix/src/libstore
Jade Lovelace dde51af97d Use std::strong_ordering for version comparison
The actual motive here is the avoidance of integer overflow if we were
to make these use checked NixInts and retain the subtraction.

However, the actual *intent* of this code is a three-way comparison,
which can be done with operator<=>, so we should just do *that* instead.

Change-Id: I7f9a7da1f3176424b528af6d1b4f1591e4ab26bf
2024-07-12 16:48:28 +02:00
..
build libstore: remove upcast_goal 2024-07-11 21:31:52 +00:00
builtins libutil: remove makeDecompressionSink 2024-07-11 11:39:18 +00:00
linux chore: rebrand Nix to Lix when it makes sense 2024-06-01 20:31:24 +02:00
platform libstore: make LocalDerivationGoal::needsHashRewrite virtual 2024-07-07 18:06:08 +00:00
binary-cache-store.cc libstore: make BinaryCacheStore::getFile return a source 2024-07-11 11:39:18 +00:00
binary-cache-store.hh libstore: make BinaryCacheStore::getFile return a source 2024-07-11 11:39:18 +00:00
build-result.cc
build-result.hh
builtins.hh
ca-specific-schema.sql
common-protocol-impl.hh
common-protocol.cc util.hh: Delete remaining file and clean up headers 2024-05-29 12:38:51 +02:00
common-protocol.hh
content-address.cc
content-address.hh
crypto.cc
crypto.hh util.hh: Delete remaining file and clean up headers 2024-05-29 12:38:51 +02:00
daemon.cc libstore: turn copyNAR into a generator 2024-07-11 20:37:27 +00:00
daemon.hh
derivations.cc util.hh: Delete remaining file and clean up headers 2024-05-29 12:38:51 +02:00
derivations.hh doc: rewrite the multi-user documentation to actually talk about security 2024-06-12 15:34:23 -07:00
derived-path-map.cc
derived-path-map.hh
derived-path.cc
derived-path.hh util.hh: Delete remaining file and clean up headers 2024-05-29 12:38:51 +02:00
downstream-placeholder.cc
downstream-placeholder.hh
dummy-store.cc
dummy-store.md
export-import.cc libstore: turn copyNAR into a generator 2024-07-11 20:37:27 +00:00
filetransfer.cc filetransfer: return a Source from download() 2024-06-19 10:50:12 +00:00
filetransfer.hh filetransfer: return a Source from download() 2024-06-19 10:50:12 +00:00
fs-accessor.hh
gc-store.hh
gc.cc store: delete obsolete lsof-disabling code 2024-06-27 22:53:36 -07:00
globals.cc Add build-dir setting, clean up default TMPDIR handling 2024-06-24 11:30:32 +03:00
globals.hh Add build-dir setting, clean up default TMPDIR handling 2024-06-24 11:30:32 +03:00
http-binary-cache-store.cc libstore: make BinaryCacheStore::getFile return a source 2024-07-11 11:39:18 +00:00
http-binary-cache-store.md
indirect-root-store.hh
legacy-ssh-store.cc libstore: turn copyNAR into a generator 2024-07-11 20:37:27 +00:00
legacy-ssh-store.md
length-prefixed-protocol-helper.hh
lix-store.pc.in
local-binary-cache-store.cc libstore: make BinaryCacheStore::getFile return a source 2024-07-11 11:39:18 +00:00
local-binary-cache-store.md
local-fs-store.cc libstore: convert dumpPath to a generator 2024-07-05 22:28:16 +00:00
local-fs-store.hh chore: rebrand Nix to Lix when it makes sense 2024-06-01 20:31:24 +02:00
local-store.cc libutil: turn HashModuloSink into a free function 2024-07-06 12:36:37 +02:00
local-store.hh chore: rebrand Nix to Lix when it makes sense 2024-06-01 20:31:24 +02:00
local-store.md
lock.cc
lock.hh
log-store.cc
log-store.hh
machines.cc Remove 100s of CPU time (10%) from build times (1465s -> 1302s) 2024-05-29 22:16:15 -07:00
machines.hh
make-content-addressed.cc libutil: rewrite RewritingSink as source 2024-07-11 11:39:18 +00:00
make-content-addressed.hh
meson.build build: expose option to enable or disable precompiled std headers 2024-06-06 12:46:26 -06:00
misc.cc
names.cc Use std::strong_ordering for version comparison 2024-07-12 16:48:28 +02:00
names.hh Use std::strong_ordering for version comparison 2024-07-12 16:48:28 +02:00
nar-accessor.cc
nar-accessor.hh
nar-info-disk-cache.cc util.hh: Delete remaining file and clean up headers 2024-05-29 12:38:51 +02:00
nar-info-disk-cache.hh
nar-info.cc
nar-info.hh
optimise-store.cc util.hh: Delete remaining file and clean up headers 2024-05-29 12:38:51 +02:00
outputs-spec.cc util.hh: Delete remaining file and clean up headers 2024-05-29 12:38:51 +02:00
outputs-spec.hh
parsed-derivations.cc
parsed-derivations.hh
path-info.cc
path-info.hh
path-references.cc libstore: convert dumpPath to a generator 2024-07-05 22:28:16 +00:00
path-references.hh
path-regex.hh
path-with-outputs.cc
path-with-outputs.hh
path.cc
path.hh
pathlocks.cc util.hh: Delete remaining file and clean up headers 2024-05-29 12:38:51 +02:00
pathlocks.hh
platform.cc libstore: Start creating LocalDerivationGoal subclasses 2024-06-23 03:33:07 +00:00
profiles.cc util.{hh,cc}: Split out users.{hh,cc} 2024-05-29 11:01:34 +02:00
profiles.hh chore: rebrand Nix to Lix when it makes sense 2024-06-01 20:31:24 +02:00
realisation.cc
realisation.hh
remote-fs-accessor.cc Change error messages about 'invalid paths' to 'path does not exist'. 2024-06-16 03:55:39 +00:00
remote-fs-accessor.hh
remote-store-connection.hh libstore: refuse to serialise ancient protocols 2024-06-16 19:15:08 -07:00
remote-store.cc libstore: turn copyNAR into a generator 2024-07-11 20:37:27 +00:00
remote-store.hh
s3-binary-cache-store.cc libstore: make BinaryCacheStore::getFile return a source 2024-07-11 11:39:18 +00:00
s3-binary-cache-store.hh
s3-binary-cache-store.md
s3.hh
schema.sql
serve-protocol-impl.hh
serve-protocol.cc util.hh: Delete remaining file and clean up headers 2024-05-29 12:38:51 +02:00
serve-protocol.hh libstore: remove operations that are never called by supported clients 2024-06-19 19:41:04 -07:00
sqlite.cc util.hh: Delete remaining file and clean up headers 2024-05-29 12:38:51 +02:00
sqlite.hh
ssh-store-config.hh
ssh-store.cc
ssh-store.md
ssh.cc libutil: return Pid from startProcess, not pid_t 2024-06-23 11:52:49 +00:00
ssh.hh
store-api.cc libutil: convert readFileSource to a generator 2024-07-05 22:28:16 +00:00
store-api.hh Add a clearer error message for InvalidPathError during evaluation 2024-06-16 03:53:00 +00:00
store-cast.hh
uds-remote-store.cc
uds-remote-store.hh
uds-remote-store.md
worker-protocol-impl.hh
worker-protocol.cc libstore client: remove remaining dead code 2024-06-16 19:15:08 -07:00
worker-protocol.hh libstore: remove operations that are never called by supported clients 2024-06-19 19:41:04 -07:00