Skip to content

Commit

Permalink
style: remove commented imports [skip changelog]
Browse files Browse the repository at this point in the history
  • Loading branch information
hacdias committed Aug 17, 2023
1 parent f12b372 commit cc79eeb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions core/commands/dag/dag.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down
2 changes: 1 addition & 1 deletion repo/fsrepo/migrations/fetch.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cc79eeb

Please sign in to comment.