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
Description
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')
})