aboutsummaryrefslogtreecommitdiff
path: root/src/libutil/util.hh
AgeCommit message (Expand)Author
2022-12-07Trivial changes from the lazy-trees branchEelco Dolstra
2022-12-02getMaxCPU(): Lower verbosity level for ignored exceptionsEelco Dolstra
2022-09-19Improve durability of schema version file writessqualus
2022-08-03Only use `renameFile` where neededThéophane Hufschmitt
2022-08-03moveFile -> renameFileThéophane Hufschmitt
2022-08-03Create a wrapper around stdlib’s `rename`Théophane Hufschmitt
2022-07-19libstore/globals.cc: Move cgroup detection to libutilAlex Wied
2022-06-23Fix build-remote in nix-staticEelco Dolstra
2022-06-02Avoid unnecessary string copyEelco Dolstra
2022-06-02Add operator for concatenating strings and string_viewsEelco Dolstra
2022-05-04Move json stuff out of util.ccEelco Dolstra
2022-05-04Get rid of most `.at` calls (#6393)Alain Zscheile
2022-03-07Perform tilde expansion when completing flake fragmentsNaïm Favier
2022-03-07Make completeDir follow symlinksNaïm Favier
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-01-27convert a for more utilities to string_viewpennae
2022-01-13use more string_view in utilspennae
2022-01-12Merge pull request #5887 from pennae/avoid-streamsThéophane Hufschmitt
2022-01-12use boost::lexical_cast for string2*pennae
2022-01-07isInDir() / isDirOrInDir(): Use std::string_viewEelco Dolstra
2021-12-22Remove CPU lockingEelco Dolstra
2021-12-16Ignore EPERM when unsharing FS stateEelco Dolstra
2021-12-01src/libutil/util.hh: fix build on gcc-11Sergei Trofimovich
2021-11-24Fix a minor data race with _isInterruptedAlex Shabalin
2021-11-08Merge branch 'fix-writable-shell' of https://github.com/yorickvP/nixEelco Dolstra
2021-10-15Restore parent mount namespace in restoreProcessContextYorick van Pelt
2021-10-14Make the canReachRoots() traversal non-recursiveEelco Dolstra
2021-10-13Use a thread per connectionEelco Dolstra
2021-10-13Non-blocking garbage collectorEelco Dolstra
2021-10-06Don't reset the logger in a vforkEelco Dolstra
2021-10-05Connect/bind Unix domain sockets in a child processEelco Dolstra
2021-09-13RunOptions: Use designated initializersEelco Dolstra
2021-07-01Respect TERM=dumb more consistentlyYestin L. Harrison
2021-04-07Restore stack size in child processesEelco Dolstra
2021-04-07restoreSignals() + restoreAffinity() -> restoreProcessContext()Eelco Dolstra
2021-04-07PathSubstitutionGoal: Clean up pipeEelco Dolstra
2021-01-21Remove trailing whitespaceEelco Dolstra
2021-01-08Support binary unit prefixes in command line argumentsEelco Dolstra
2021-01-08string2Int(): Return std::optionalEelco Dolstra
2020-12-02read(): Use char * instead of unsigned char *Eelco Dolstra
2020-12-02Sink: Use std::string_viewEelco Dolstra
2020-12-02writeFull/writeFile: Use std::string_viewEelco Dolstra
2020-12-01replaceStrings(): Use std::string_viewEelco Dolstra
2020-10-11Split out `commonChildInit`John Ericson
2020-10-06Factor out common showBytes()Eelco Dolstra
2020-09-21Random header cleanupEelco Dolstra
2020-09-21Move Callback into its own headerEelco Dolstra
2020-08-20Allow 'nix' subcommands to provide docs in Markdown formatEelco Dolstra