Documentation
    Preparing search index...

    Interface that a data store needs to implement to manage blobs by their hashes.

    Implements

    Index

    Constructors

    Methods

    • Put a blob by an author into the store. Blob bytes are content-deduped by hash (written only once). Each (author, hash) association is recorded independently, so the same bytes can be authored by multiple agents.

      Parameters

      • hash: Hash

        The blob's hash

      • blob: Blob

        The blob

      • author: string

        Author of the blob

      • authoredAt: number

        Author-assigned timestamp of the blob

      Returns void