From cc79eeb91ce63631d6c772cc0af6c361c03b38d4 Mon Sep 17 00:00:00 2001 From: Henrique Dias Date: Thu, 17 Aug 2023 14:15:42 +0200 Subject: [PATCH] style: remove commented imports [skip changelog] --- core/commands/dag/dag.go | 3 --- repo/fsrepo/migrations/fetch.go | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/core/commands/dag/dag.go b/core/commands/dag/dag.go index ac6f25d7d62..649142fd0ff 100644 --- a/core/commands/dag/dag.go +++ b/core/commands/dag/dag.go @@ -13,9 +13,6 @@ import ( cid "github.com/ipfs/go-cid" cidenc "github.com/ipfs/go-cidutil/cidenc" cmds "github.com/ipfs/go-ipfs-cmds" - // gipfree "github.com/ipld/go-ipld-prime/impl/free" - // gipselector "github.com/ipld/go-ipld-prime/traversal/selector" - // gipselectorbuilder "github.com/ipld/go-ipld-prime/traversal/selector/builder" ) const ( diff --git a/repo/fsrepo/migrations/fetch.go b/repo/fsrepo/migrations/fetch.go index 60081210f6b..ee1deefa06a 100644 --- a/repo/fsrepo/migrations/fetch.go +++ b/repo/fsrepo/migrations/fetch.go @@ -184,7 +184,7 @@ func osWithVariant() (string, error) { // "go-ipfs_v0.8.0-rc2_linux-amd64.tar.gz" // // This would form the path: -// go-ipfs/v0.8.0/go-ipfs_v0.8.0_linux-amd64.tar.gz. +// go-ipfs/v0.8.0/go-ipfs_v0.8.0_linux-amd64.tar.gz func makeArchivePath(dist, name, ver, atype string) (string, string) { arcName := fmt.Sprintf("%s_%s_%s-%s.%s", name, ver, runtime.GOOS, runtime.GOARCH, atype) return fmt.Sprintf("%s/%s/%s", dist, ver, arcName), arcName