Skip to content

refresh = True should be the default for GCSFS.ls #647

Description

@rickmcgeer

I was working with this system today, and noticed that ls wasn't returning all the files in a bucket. After I changed the call from:

 gcs_file_system.ls(my_bucket)

To

 gcs_file_system.ls(my_bucket, refresh=True)

I can appreciate the value of caching as an option, but returning an outdated file listing doesn't match the semantics of a filesystem ls, leading to user confusion.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions