Another attempt to fix fs::pending_file for hardlinks

This commit is contained in:
Elad 2024-11-02 12:47:42 +02:00
parent d3c0ec5651
commit b053b1e200
2 changed files with 44 additions and 4 deletions

View file

@ -601,6 +601,8 @@ namespace fs
// Temporary directory
const std::string& get_temp_dir();
std::string generate_neighboring_path(std::string_view source, u64 seed);
// Unique pending file creation destined to be renamed to the destination file
struct pending_file
{