Hubert - Distributed Infrastructure for Secure Multiparty Transactions - v1.0.0-alpha.20
    Preparing search index...

    Function pinCid

    • Pin a CID to ensure it persists in local IPFS storage.

      Port of pin_cid() from ipfs/value.rs lines 31-38.

      Parameters

      • client: KuboRPCClient

        Kubo RPC client

      • cid: string

        Content identifier to pin

      • recursive: boolean

        Whether to recursively pin linked content

      Returns Promise<void>