aboutsummaryrefslogtreecommitdiff
path: root/src/libutil/util.cc
AgeCommit message (Expand)Author
2022-09-19Improve durability of schema version file writessqualus
2022-08-08Merge remote-tracking branch 'upstream/master' into fix-mv-in-different-files...Théophane Hufschmitt
2022-08-07Do not spam logs if the owned-homedir check results in a noopDave Nicponski
2022-08-03Make `moveFile` more atomicThéophane Hufschmitt
2022-08-03Move some fs-related functions to their own fileThéophane Hufschmitt
2022-07-19libstore/globals.cc: Move cgroup detection to libutilAlex Wied
2022-06-23getSelfExe(): Support macOSEelco Dolstra
2022-06-23Fix build-remote in nix-staticEelco Dolstra
2022-06-22StyleEelco Dolstra
2022-06-17Verify `$HOME` is owned by current user in `getHome()`, if it exists.Dave Nicponski
2022-05-26createUnixDomainSocket: listen(unix, 5 -> 100)Robert Hensing
2022-05-04Move json stuff out of util.ccEelco Dolstra
2022-05-04Get rid of most `.at` calls (#6393)Alain Zscheile
2022-04-20Merge remote-tracking branch 'upstream/master' into fix-url-formatJohn Ericson
2022-04-19Merge pull request #6128 from ncfavier/fix-completionEelco Dolstra
2022-04-19Avoid `fmt` when constructor already does itJohn Ericson
2022-04-07Merge pull request #6348 from cole-h/fix-restoring-mount-namespaceEelco Dolstra
2022-04-05Merge pull request #6366 from danpls/base64-reserveEelco Dolstra
2022-04-05tokenizeString: Fix semantic mistakeDaniel Pauls
2022-04-05libutil: Reserve memory when en/decoding base64Daniel Pauls
2022-04-04libutil: don't save cwd fd, use path insteadCole Helbling
2022-04-04libutil: save cwd fd in restoreMountNamespaceCole Helbling
2022-04-04libutil: `try` restoring the cwd from fdSavedCwdCole Helbling
2022-04-04libutil: save fd to cwd instead of cwd itselfCole Helbling
2022-04-04libutil: cleanup savedCwd logicCole Helbling
2022-04-01libutil: Properly guard self-allocating getcwd on GNUCole Helbling
2022-04-01libutil: Don't use std::filesystemCole Helbling
2022-04-01libutil: Fix restoring mount namespaceaszlig
2022-03-31replaceEnv(): Pass newEnv by referenceEelco Dolstra
2022-03-13nix store gc: account for auto-optimised storeSergei Trofimovich
2022-03-09make Finally more localpennae
2022-03-07Perform tilde expansion when completing flake fragmentsNaïm Favier
2022-03-07Make completeDir follow symlinksNaïm Favier
2022-03-03Fix segfault in headerCallback()Eelco Dolstra
2022-03-01filterANSIEscapes: Ignore BEL characterAnders Kaseorg
2022-02-25Remove std::string alias (for real this time)Eelco Dolstra
2022-02-21Remove std::vector aliasEelco Dolstra
2022-02-21Remove std::set aliasEelco Dolstra
2022-02-21Merge pull request #6052 from hercules-ci/issue-3294-fix-interruptCallback-de...Eelco Dolstra
2022-02-21triggerInterrupt: Refactor to use breakRobert Hensing
2022-02-07Make sure no exceptions leave ignoreException()Sergei Trofimovich
2022-02-06Don't hold interruptCallbacks lock during interrupt handlingRobert Hensing
2022-02-02Merge branch 'more-stringviews' of https://github.com/pennae/nixEelco Dolstra
2022-01-29canonPath: fix missing slash when resolving linksWill Dietz
2022-01-27convert a for more utilities to string_viewpennae
2022-01-18Merge pull request #5906 from pennae/primops-optimizationEelco Dolstra
2022-01-18Merge pull request #5932 from edolstra/remove-shared-stringsEelco Dolstra
2022-01-18Get rid of std::shared_ptr<std::string> and ref<std::string>Eelco Dolstra
2022-01-17Merge pull request #5812 from pennae/small-perf-improvementsEelco Dolstra
2022-01-13avoid copies of parser input datapennae