guix/nix
Congcong Kuo 85a72ed28e
daemon: Use starts_with() and ends_with() instead of string() or hasSuffix()
* nix/libstore/build.cc (DerivationGoal::tryBuildHook): Use starts_with instead
of string()
* nix/libstore/builtins.cc (lookupBuiltinBuilder): Same.
* nix/libstore/builtins.hh (isBuiltin): Same and fix indentation of the file.
* nix/libstore/derivations.cc (DerivationOutput::parseHashInfo, isDerivation):
Same and clean header files.
* nix/libstore/gc.cc (addPermRoot, LocalStore::isActiveTempFile): Same.
* nix/libstore/globals.cc: Same.
* nix/libstore/local-store.cc: Same.
* nix/libstore/misc.cc: Same.
* nix/libstore/store-api.cc (checkStoreName): Same.
* nix/libutil/affinity.cc: Same.
* nix/libutil/archive.cc: Same.
* nix/libutil/spawn.cc: Same.
* nix/libutil/util.{cc, hh} (hasSuffix): Removed.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-11-03 17:18:37 +01:00
..
libstore daemon: Use starts_with() and ends_with() instead of string() or hasSuffix() 2025-11-03 17:18:37 +01:00
libutil daemon: Use starts_with() and ends_with() instead of string() or hasSuffix() 2025-11-03 17:18:37 +01:00
nix-daemon daemon: Bump to C++20 and use ‘std::format’ instead of ‘boost::format’. 2025-10-19 21:29:39 +02:00
.gitignore
AUTHORS
COPYING
local.mk daemon: Bump to C++20 and use ‘std::format’ instead of ‘boost::format’. 2025-10-19 21:29:39 +02:00