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

Updating API doc to reflect directory operations #1097

Merged
merged 1 commit into from
Dec 8, 2019

Conversation

igorsantos07
Copy link

Given #117, at least since 2014 the docs were missing clearer information on whether it's possible to delete/rename/move directories as well as files.

Given thephpleague#117, at least since 2014 the docs were missing clearer information on whether it's possible to delete/rename/move directories as well as files.
`$to` | new location | `string`
`$response` | success boolean | `bool`

---

## Copy Files
Copy link
Member

Choose a reason for hiding this comment

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

We should add a note here that this is not consistent behaviour across adapters (for local it works, for AWS it doesn't for example.

@frankdejonge frankdejonge merged commit daef5dc into thephpleague:master Dec 8, 2019
@cancan101
Copy link

Not sure if this got reverted / changed in new versions, but the current docs do not make clear if move can be used on directories: https://flysystem.thephpleague.com/docs/usage/filesystem-api/:
image
and if not are there any APIs to move / rename a directory?

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