guix/nix/libutil
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
..
affinity.cc daemon: Use starts_with() and ends_with() instead of string() or hasSuffix() 2025-11-03 17:18:37 +01:00
affinity.hh
archive.cc daemon: Use starts_with() and ends_with() instead of string() or hasSuffix() 2025-11-03 17:18:37 +01:00
archive.hh
hash.cc daemon: Bump to C++20 and use ‘std::format’ instead of ‘boost::format’. 2025-10-19 21:29:39 +02:00
hash.hh daemon: Bump to C++20 and use ‘std::format’ instead of ‘boost::format’. 2025-10-19 21:29:39 +02:00
seccomp.cc daemon: add seccomp filter for slirp4netns. 2025-06-24 10:07:58 -04:00
seccomp.hh daemon: Fix build with gcc-14. 2025-06-25 14:33:26 +02:00
serialise.cc daemon: Bump to C++20 and use ‘std::format’ instead of ‘boost::format’. 2025-10-19 21:29:39 +02:00
serialise.hh
spawn.cc daemon: Use starts_with() and ends_with() instead of string() or hasSuffix() 2025-11-03 17:18:37 +01:00
spawn.hh daemon: Export as little as needed from libutil/spawn.cc. 2025-10-16 15:14:37 +02:00
types.hh daemon: Bump to C++20 and use ‘std::format’ instead of ‘boost::format’. 2025-10-19 21:29:39 +02:00
util.cc daemon: Use starts_with() and ends_with() instead of string() or hasSuffix() 2025-11-03 17:18:37 +01:00
util.hh daemon: Use starts_with() and ends_with() instead of string() or hasSuffix() 2025-11-03 17:18:37 +01:00