Skip to content
Discussion options

You must be logged in to vote

Out of interest, what is your overall objective to copy from a FilesystemStore a MemoryStore?

zarrs doesn't have any helper methods for this kind of operation. Partially because there is a lot of nuance to copying potentially large amounts of data from one store to another. E.g. how to deal with failure, whether the source data should be validated, etc.

Store Copying

If you just want to straight up copy an entire hierarchy from one store to another, it isn't too complicated:

  1. Get all source store keys that you want to copy with a relevant method from https://docs.rs/zarrs_storage/0.3.4/zarrs_storage/trait.ListableStorageTraits.html
  2. Read source keys with https://docs.rs/zarrs_storage/0.3.4…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@BruAPAHE
Comment options

Answer selected by BruAPAHE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants