Skip to content

Call for help: webkitFileSystem backed #12

Description

@jlongster

I have already written a backend using webkitFileSystem: https://gist.github.com/jlongster/ec00ddbb47b4b29897ab5939b8e32fbe

I did it somewhat naively though. It's way slower because I don't know how to do bulk reads/writes. I can't find anything in the API about it, or any examples. Surely there's a way to avoid doing entry.file every single time??https://gist.github.com/jlongster/ec00ddbb47b4b29897ab5939b8e32fbe#file-webkitfilesystem-backend-js-L48

Sure you can somehow call writer.write more than once? When I tried it, it errored. Calling createWriter each time is super slow! https://gist.github.com/jlongster/ec00ddbb47b4b29897ab5939b8e32fbe#file-webkitfilesystem-backend-js-L36

I should probably create a PR so that you already have some running code with it. I'd love for someone to help with it!

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions