ipfs/kubo

`ipfs object patch update-link`

Open

#5,886 创建于 2019年1月2日

在 GitHub 查看
 (7 评论) (1 反应) (0 负责人)Go (13,906 star) (2,725 fork)batch import
exp/novicehelp wantedkind/enhancementstatus/readytopic/commands

描述

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

贡献者指南