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

Support Flysystem v3 #81

Merged
merged 2 commits into from
Jan 26, 2022
Merged

Support Flysystem v3 #81

merged 2 commits into from
Jan 26, 2022

Conversation

jmsche
Copy link

@jmsche jmsche commented Jan 26, 2022

No description provided.

@freekmurze freekmurze merged commit 1a620bc into spatie:master Jan 26, 2022
@freekmurze
Copy link
Member

Thanks!

@@ -60,6 +62,11 @@ public function fileExists(string $path): bool
}
}

public function directoryExists(string $path): bool
{
return $this->fileExists($path);
Copy link
Contributor

Choose a reason for hiding this comment

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

This looks incorrect?

Copy link
Author

Choose a reason for hiding this comment

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

According to the Dropbox API it seems correct: https://www.dropbox.com/developers/documentation/http/documentation#files-get_metadata

Also I upgraded to latest version earlier & added a check to see if a directory exists or not before creating it, it seems to be working great.

Copy link
Contributor

Choose a reason for hiding this comment

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

directoryExists should not return true if a file exists at that path, only if a directory exists.

@jmsche jmsche deleted the flysystem-v3 branch August 16, 2022 20:37
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.

None yet

3 participants