Hierarchy

  • BlockstoreCarReader

Constructors

Properties

Accessors

Methods

Constructors

  • Parameters

    • roots: CID[]
    • blockstore: Blockstore
    • version: number = 1

    Returns BlockstoreCarReader

Properties

_blockstore: Blockstore
_roots: CID[]
_version: number

Accessors

  • get blockstore(): Blockstore
  • Returns Blockstore

  • get version(): number
  • Returns number

Methods

  • Returns AsyncGenerator<Block, void, unknown>

  • Returns AsyncGenerator<CID, void, unknown>

  • Parameters

    • cid: CID

    Returns Promise<{
        bytes: Uint8Array;
        cid: CID;
    }>

  • Returns Promise<CID[]>

  • Parameters

    • cid: CID

    Returns Promise<boolean>

Generated using TypeDoc