summaryrefslogtreecommitdiff
path: root/src/AtomicFile.cpp
Commit message (Expand)AuthorAgeFilesLines
* enhance: Add AtomicFile::flush methodJoel Rosdahl2022-12-131-0/+9
* fix: Make sure that temporary files always have .tmp. in the nameJoel Rosdahl2022-09-211-1/+1
* refactor: Use more std::string_viewJoel Rosdahl2022-09-061-1/+1
* refactor: Replace util::Blob aliasJoel Rosdahl2022-09-061-1/+1
* refactor: Use FMT macro to format exception messagesJoel Rosdahl2022-08-241-3/+4
* refactor: Use new util::Blob typedefJoel Rosdahl2022-08-151-2/+2
* Move exceptions.hpp to coreJoel Rosdahl2021-07-201-5/+9
* Add ASSERT and DEBUG_ASSERT macrosJoel Rosdahl2020-09-211-1/+2
* Let Error constructor forward arguments to fmt::formatJoel Rosdahl2020-08-031-8/+3
* Remove now empty legacy_util.[hc]pp filesJoel Rosdahl2020-07-311-1/+0
* C++-ify x_renameJoel Rosdahl2020-07-311-3/+1
* C++-ify get_home_directoryJoel Rosdahl2020-07-311-0/+1
* Introduce and use TemporaryFile classJoel Rosdahl2020-07-251-3/+4
* Reduce the set of included headersJoel Rosdahl2020-06-231-4/+0
* C++-ify unlink wrapper functionsJoel Rosdahl2020-05-201-2/+2
* Fix formattingJoel Rosdahl2020-02-101-1/+1
* Improve the failed() and fatal() mechanismsJoel Rosdahl2020-02-081-1/+1
* Split ccache.hpp into per-.cpp file headersJoel Rosdahl2020-01-221-2/+1
* AtomicFile: Cope with write error (e.g. due to full disk) when closingJoel Rosdahl2019-11-011-1/+6
* Use #include "third_party/..." consistently to include third party codeJoel Rosdahl2019-10-191-1/+2
* Rename AtomicFile::close to commitJoel Rosdahl2019-10-051-2/+2
* Include .tmp. in AtomicFile namesJoel Rosdahl2019-10-051-1/+1
* Use UpperCamelCase instead of snake_case for namespacesJoel Rosdahl2019-10-051-1/+2
* Make AtomicFile::Type values lower caseJoel Rosdahl2019-10-051-1/+1
* Extract temporary file creation code into a functionJoel Rosdahl2019-10-051-19/+11
* Add AtomicFile class for updating a file with rename-in-placeJoel Rosdahl2019-08-141-0/+80