ipfs/kubo

`ipfs object patch update-link`

Open

#5886 aperta il 2 gen 2019

Vedi su GitHub
 (7 commenti) (1 reazione) (0 assegnatari)Go (2725 fork)batch import
exp/novicehelp wantedkind/enhancementstatus/readytopic/commands

Metriche repository

Star
 (13.906 star)
Metriche merge PR
 (Merge medio 4g 2h) (28 PR mergiate in 30 g)

Descrizione

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>.

Guida contributor