Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface API<OptionExtension>

Type parameters

  • OptionExtension = {}

Hierarchy

  • API

Index

Methods

  • Perform garbage collection on the repo

    Any unpinned blocks will be deleted

    Parameters

    • Optional options: GCOptions & OptionExtension

    Returns AsyncIterable<GCResult>

  • version(options?: AbortOptions & OptionExtension): Promise<number>
  • If the repo has been initialized, report the current version, otherwise report the version that would be initialized

    Parameters

    Returns Promise<number>

Generated using TypeDoc