From: Joel Rosdahl Date: Mon, 17 Jul 2023 10:36:15 +0000 (+0200) Subject: chore: Add note about using util::rename instead of fs::rename X-Git-Tag: v4.9~111 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=700afb5f02a92e9980caf6550fc71b9d38397ff6;p=thirdparty%2Fccache.git chore: Add note about using util::rename instead of fs::rename --- diff --git a/src/util/filesystem.hpp b/src/util/filesystem.hpp index 3d4c25ac6..01525968f 100644 --- a/src/util/filesystem.hpp +++ b/src/util/filesystem.hpp @@ -111,6 +111,7 @@ DEF_WRAP_1_P(is_directory, bool, const path&, p) DEF_WRAP_1_R(read_symlink, path, const path&, p) DEF_WRAP_1_R(remove, bool, const path&, p) DEF_WRAP_1_R(remove_all, std::uintmax_t, const path&, p) +// Note: Use util::rename instead of fs::rename. DEF_WRAP_0_R(temp_directory_path, path) // clang-format on