We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d140a68 commit 39513c6Copy full SHA for 39513c6
core/commands/urlstore.go
@@ -27,7 +27,7 @@ var urlAdd = &cmds.Command{
27
Helptext: cmdkit.HelpText{
28
Tagline: "Add URL via urlstore.",
29
LongDescription: `
30
-DEPRECATED: Use 'ipfs add --nocopy URL'.
+DEPRECATED: Use 'ipfs add --nocopy --cid-version=1 URL'.
31
32
Add URLs to ipfs without storing the data locally.
33
@@ -48,6 +48,8 @@ settings for 'ipfs add'.
48
Type: &BlockStat{},
49
50
Run: func(req *cmds.Request, res cmds.ResponseEmitter, env cmds.Environment) error {
51
+ log.Error("The 'ipfs urlstore' command is deprecated, please use 'ipfs add --nocopy --cid-version=1")
52
+
53
urlString := req.Arguments[0]
54
if !filestore.IsURL(req.Arguments[0]) {
55
return fmt.Errorf("unsupported url syntax: %s", urlString)
0 commit comments