Skip to content

Commit 5077b73

Browse files
feat(ipfs): set ipfs-naming to public visibility (#3430)
Co-authored-by: Rémy Léone <[email protected]>
1 parent a77f07a commit 5077b73

File tree

3 files changed

+0
-26
lines changed

3 files changed

+0
-26
lines changed

cmd/scw/testdata/test-all-usage-ipfs-usage.golden

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ USAGE:
66
scw ipfs <command>
77

88
AVAILABLE COMMANDS:
9-
name A name is a hash of the public key within the IPNS (InterPlanetary Name System)
109
pin A pin is an abstract object that holds a Content Identifier (CID). It is defined that during the lifespan of a pin, the CID (and all sub-CIDs) must be hosted by the service
1110
volume A volume is bucket of pins. It is similar to an Object Storage bucket. Volumes are useful to gather pins with similar lifespans
1211

docs/commands/ipfs.md

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
# Documentation for `scw ipfs`
33
IPFS Pinning service API.
44

5-
- [A name is a hash of the public key within the IPNS (InterPlanetary Name System)](#a-name-is-a-hash-of-the-public-key-within-the-ipns-(interplanetary-name-system))
65
- [A pin is an abstract object that holds a Content Identifier (CID). It is defined that during the lifespan of a pin, the CID (and all sub-CIDs) must be hosted by the service](#a-pin-is-an-abstract-object-that-holds-a-content-identifier-(cid).-it-is-defined-that-during-the-lifespan-of-a-pin,-the-cid-(and-all-sub-cids)-must-be-hosted-by-the-service)
76
- [Create a pin by CID](#create-a-pin-by-cid)
87
- [Create a pin by URL](#create-a-pin-by-url)
@@ -17,20 +16,6 @@ IPFS Pinning service API.
1716
- [Update volume information](#update-volume-information)
1817

1918

20-
## A name is a hash of the public key within the IPNS (InterPlanetary Name System)
21-
22-
This is the PKI namespace, where the private key is used to publish (sign) a record.
23-
24-
This is the PKI namespace, where the private key is used to publish (sign) a record.
25-
26-
**Usage:**
27-
28-
```
29-
scw ipfs name
30-
```
31-
32-
33-
3419
## A pin is an abstract object that holds a Content Identifier (CID). It is defined that during the lifespan of a pin, the CID (and all sub-CIDs) must be hosted by the service
3520

3621
It is possible that many pins target the same CID, regardless of the user.

internal/namespaces/ipfs/v1alpha1/ipfs_cli.go

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ func GetGeneratedCommands() *core.Commands {
2222
ipfsRoot(),
2323
ipfsPin(),
2424
ipfsVolume(),
25-
ipfsName(),
2625
ipfsVolumeCreate(),
2726
ipfsVolumeGet(),
2827
ipfsVolumeList(),
@@ -61,15 +60,6 @@ func ipfsVolume() *core.Command {
6160
}
6261
}
6362

64-
func ipfsName() *core.Command {
65-
return &core.Command{
66-
Short: `A name is a hash of the public key within the IPNS (InterPlanetary Name System)`,
67-
Long: `This is the PKI namespace, where the private key is used to publish (sign) a record.`,
68-
Namespace: "ipfs",
69-
Resource: "name",
70-
}
71-
}
72-
7363
func ipfsVolumeCreate() *core.Command {
7464
return &core.Command{
7565
Short: `Create a new volume`,

0 commit comments

Comments
 (0)