Skip to content

How do I read an existing hypercore on disk? #82

Description

@rklaehn

Question

How do I read an existing hypercore on disk?

Your Environment

Software Version(s)
hypercore 0.10.0
Rustc rustc 1.37.0 (eae3437df 2019-08-13)
Operating System macOS 10.12.6 (16G1815)

Question

I was doing some initial evaluation of rust hypercore. One of the things I wanted to try was to read existing hypercores, such as the ones written by mafintosh/hypercore. However, I could not figure out how to do that. Even when passing in the directory of an existing hypercore, the .len() method returns 0.

Context

I want to check compatibility with js hypercore and also compare read performance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions