Skip to content
New issue

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

consider a blob export format: "move and delete from store" #2801

Open
cblgh opened this issue Oct 11, 2024 · 0 comments
Open

consider a blob export format: "move and delete from store" #2801

cblgh opened this issue Oct 11, 2024 · 0 comments

Comments

@cblgh
Copy link

cblgh commented Oct 11, 2024

hiya!

been looking over some of the SDKs and came across blob export formats. for the use case under consideration, it would be desirable to:

  1. use iroh and its high level functions to sync a file (just a blob, not a document)
  2. once synced, move the blob outside of the store
  3. then finally, remove the blob from the store

it currently looks like the blob export api and the available configuration options (blob export formats?) keep the blob intact with the store, which is probably desirable for many use cases! but in this instance it would be important to remove it from the store after sync has been accomplished and the blob exported elsewhere.

in practice doing blobs().writeToPath (SDK method) followed by a blobs.client.delete_blob, but in one swoop of the export function call.

not sure if this additional export format is out of scope, or too complicated, but i figured i should give y'all a shout as it's stemming from a genuine use case

ty for everything!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

1 participant