ipfs/kubo

`ipfs object patch update-link`

Open

#5886 opened on Jan 2, 2019

View on GitHub
 (7 comments) (1 reaction) (0 assignees)Go (13,906 stars) (2,725 forks)batch import
exp/novicehelp wantedkind/enhancementstatus/readytopic/commands

Description

Version information:

go-ipfs version: 0.4.18- Repo version: 7 System version: amd64/linux Golang version: go1.11.1

Type:

enhancement

Description:

It would be convenient to have an object patch shorthand for add-and-replace:

ipfs object patch update-link <root> <from-ref> <to-ref>

Today, this is two separate commands:

ipfs object patch rm-link <root> <name>
ipfs object patch add-link <new-root> <name> <add-ref>

This already exists for pins: ipfs pin update <from-path> <to-path>.

Contributor guide