style: remove commented imports [skip changelog]
Henrique Dias committed
Aug 17, 2023 at 14:15 UTC
cc79eeb91ce63631d6c772cc0af6c361c03b38d4
2 files changed
+1
-4
core/commands/dag/dag.go
-3
@@ -13,9 +13,6 @@ import (
13
cid "github.com/ipfs/go-cid"
14
cidenc "github.com/ipfs/go-cidutil/cidenc"
15
cmds "github.com/ipfs/go-ipfs-cmds"
16
- // gipfree "github.com/ipld/go-ipld-prime/impl/free"
17
- // gipselector "github.com/ipld/go-ipld-prime/traversal/selector"
18
- // gipselectorbuilder "github.com/ipld/go-ipld-prime/traversal/selector/builder"
16
)
17
18
const (
repo/fsrepo/migrations/fetch.go
+1
-1
@@ -184,7 +184,7 @@ func osWithVariant() (string, error) {
184
// "go-ipfs_v0.8.0-rc2_linux-amd64.tar.gz"
185
//
186
// This would form the path:
187
-// go-ipfs/v0.8.0/go-ipfs_v0.8.0_linux-amd64.tar.gz.
187
+// go-ipfs/v0.8.0/go-ipfs_v0.8.0_linux-amd64.tar.gz
188
func makeArchivePath(dist, name, ver, atype string) (string, string) {
189
arcName := fmt.Sprintf("%s_%s_%s-%s.%s", name, ver, runtime.GOOS, runtime.GOARCH, atype)
190
return fmt.Sprintf("%s/%s/%s", dist, ver, arcName), arcName