We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
the has function
Superbalist\Flysystem\GoogleStorage::has()
Does not return true for directories.
The text was updated successfully, but these errors were encountered:
Ok, found a solution
public function has($path) { if ($this->getObject($path)->exists()) { return true; } return count(array_filter($this->listContents($path), function ($item) use ($path) { return $item['path'] === $path; })) === 1; }
Sorry, something went wrong.
fixed by #107
No branches or pull requests
the has function
Does not return true for directories.
The text was updated successfully, but these errors were encountered: