Skip to content

Breaking: Remove file::move and directory::move#208

Merged
bugdea1er merged 3 commits into
mainfrom
remove-move
May 4, 2025
Merged

Breaking: Remove file::move and directory::move#208
bugdea1er merged 3 commits into
mainfrom
remove-move

Conversation

@bugdea1er
Copy link
Copy Markdown
Owner

@bugdea1er bugdea1er commented May 4, 2025

Remove file::move and directory::move:

  • There is no way to create a hard link to an existing temporary file inode, so file::move always creates a copy
  • std::filesystem::rename does not have strict semantics for directories, so directory::move will have to account for many cases, which is better done on the client side

@bugdea1er bugdea1er requested a review from Copilot May 4, 2025 14:48

This comment was marked as outdated.

Repository owner deleted a comment from Copilot AI May 4, 2025
@bugdea1er bugdea1er marked this pull request as ready for review May 4, 2025 16:16
@bugdea1er bugdea1er merged commit 1969da5 into main May 4, 2025
16 checks passed
@bugdea1er bugdea1er deleted the remove-move branch May 4, 2025 16:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants