Skip to content

Make iroh-blobs fs storage agnostic #84

Open
@seanaye

Description

@seanaye

I've been looking at both the fs store as well as the s3 store here.

It appears like the fs storage can be adapted to use any storage backend (e.g. s3) with some trait interface that abstracts away any std::fs.

Would you accept a PR for this? It would introduce breaking changes to the API but I think it would make supporting any storage mechanism much easier in the future. Eventually I think it would even be possible to support browser based storage like local storage or indexeddb which would allow the iroh blobs protocol to function in the browser.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions