Options
All
  • Public
  • Public/Protected
  • All
Menu

Class IPFSFileStoreStrategy

Hierarchy

  • IPFSFileStoreStrategy

Implements

Index

Constructors

constructor

Properties

Private client

client: IPFS<{}>

Private ready

ready: boolean

shouldDelete

shouldDelete: boolean

Methods

delete

  • delete(location: string): Promise<string>

get

  • get(location: string): Promise<string>

loaded

  • loaded(): boolean

post

  • post(file: File): Promise<string>

put

  • put(file: File): Promise<string>

Private tarballed

  • tarballed(source: AsyncIterable<Uint8Array>): AsyncGenerator<{ body: Uint8Array; header: TarEntryHeader }, void, any>
  • Parameters

    • source: AsyncIterable<Uint8Array>

    Returns AsyncGenerator<{ body: Uint8Array; header: TarEntryHeader }, void, any>

Generated using TypeDoc