Skip to content

Conversation

@fogelito
Copy link
Contributor

@fogelito fogelito commented Aug 23, 2023

Fix bug when source and target are identical the file gets deleted.
appwrite/appwrite#5814

Copy link
Member

@abnegate abnegate left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's return true instead of throwing an exception. Since the file will definitely be at $target, any code relying on it will still work, and it'll be easier to consume the library

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.

3 participants