diff options
| author | Dan Goodliffe <dan.goodliffe@octal.co.uk> | 2026-05-20 17:03:23 +0100 |
|---|---|---|
| committer | Dan Goodliffe <dan.goodliffe@octal.co.uk> | 2026-05-20 17:04:30 +0100 |
| commit | bca5ac479de5721e354b70d627fb9654bd94bdee (patch) | |
| tree | 0d2b011cd3b24fcfba8cbb50df1283ca68434ca1 /src/util.hpp | |
| parent | 161f32ebaea5988fe97ad03ad669eca2222e2a54 (diff) | |
| download | webstat-bca5ac479de5721e354b70d627fb9654bd94bdee.tar.bz2 webstat-bca5ac479de5721e354b70d627fb9654bd94bdee.tar.xz webstat-bca5ac479de5721e354b70d627fb9654bd94bdee.zip | |
Switch to std::fstream and std::print for parkLogLines
Diffstat (limited to 'src/util.hpp')
| -rw-r--r-- | src/util.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/util.hpp b/src/util.hpp index 5cac5a3..d5e2482 100644 --- a/src/util.hpp +++ b/src/util.hpp @@ -2,6 +2,7 @@ #include <chrono> #include <command.h> +#include <filesystem> #include <scn/scan.h> #include <shared_mutex> #include <tuple> @@ -144,4 +145,7 @@ namespace WebStat { ValueType value; mutable MutexType mutex; }; + + std::error_code renameNoExcept( + const std::filesystem::path & path, const std::filesystem::path & finalPath) noexcept; } |
