Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add tmp::path::move #14

Merged
merged 2 commits into from
Feb 4, 2024
Merged

Add tmp::path::move #14

merged 2 commits into from
Feb 4, 2024

Conversation

bugdea1er
Copy link
Owner

@bugdea1er bugdea1er commented Feb 3, 2024

Add a tmp::path::move method which moves the managed path to the given target:

/// Moves the managed path recursively to a given target, releasing
/// ownership of the managed path
/// @param to   A path to the target file or directory
/// @throws std::filesystem::filesystem_error if cannot move the owned path
void move(const std::filesystem::path& to);

@bugdea1er bugdea1er marked this pull request as ready for review February 4, 2024 10:19
@bugdea1er bugdea1er merged commit 3886a89 into main Feb 4, 2024
5 checks passed
@bugdea1er bugdea1er deleted the move branch February 4, 2024 11:09
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.

1 participant