Skip to content
This repository was archived by the owner on Feb 12, 2024. It is now read-only.
This repository was archived by the owner on Feb 12, 2024. It is now read-only.

ipfs.object.links result not match doc of ipfs.object.patch.rmLink argv #3815

Closed
@bluelovers

Description

@bluelovers

https://github.com/ipfs/js-ipfs/blob/master/docs/core-api/OBJECT.md#ipfsobjectpatchrmlinkcid-link-options

ipfs.object.links

  {
    Name: '116',
    Tsize: 2752602,
    Hash: CID {
      code: 112,
      version: 1,
      multihash: [Digest],
      bytes: [Uint8Array]
    }
  },

ipfs.object.patch.rmLink

// cid is CID of the DAG node created by removing a link
const cid = await ipfs.object.patch.rmLink(node, {
  name: 'some-link',
  size: 10,
  cid: CID.parse('QmPTkMuuL6PD8L2SwTwbcs1NPg14U8mRzerB1ZrrBrkSDD')
})

Metadata

Metadata

Assignees

No one assigned

    Labels

    exp/beginnerCan be confidently tackled by newcomersgood first issueGood issue for new contributorshelp wantedSeeking public contribution on this issuetopic/docsDocumentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions