mirror of
https://github.com/fsouza/fake-gcs-server.git
synced 2026-04-25 13:45:52 +03:00
[GH-ISSUE #215] Checking if a folder exists is not working as expected #2192
Labels
No labels
bug
compatibility-issue
docker
documentation
enhancement
help wanted
needs information
pull-request
question
stale
unfortunate
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/fake-gcs-server#2192
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @reaVen- on GitHub (Apr 16, 2020).
Original GitHub issue: https://github.com/fsouza/fake-gcs-server/issues/215
when connecting to googles endpoint by using
blob = storage.Blob(bucket=bucket, name="somefolder/")
fileExists = blob.exists() # true
however when overiding storage endpoints etc as explained in examples for python. and using the exact same code, fileExists is now false. It works as expected when checking for example 'name="somefolder/somefile.txt"'
@fsouza commented on GitHub (Apr 20, 2020):
yeah I think it's a known limitation of the fs backend that "directory" objects aren't supported, unfortunately :( We could use some special folder at the root for metadata and storing this kind of info, but right now it isn't supported :(