Skip to content

1.1.0

Compare
Choose a tag to compare
@birnbaum birnbaum released this 07 Jan 16:06
· 36 commits to master since this release
9a447ab

Added

  • GCSFS.get_mapper() which returns a GCSMap that wraps a GCSFS as a MutableMapping.
    The keys of the mapping become files and the values (which must be bytes) the contents of those files.
    This is particularly useful to be used with libraries such as xarray or zarr (#21)

Fixed

  • GCSFS.fix_storage() no longer creates a directory marker if root_path is the actual root of the bucket.
    Apart from not having any advantage, this caused subsequent GCSFS.fix_storage() calls as well as GCSFS.walk() to be stuck in endless loops. (#19)