Skip to content

Commit

Permalink
commands: remove deprecated 'file ls'
Browse files Browse the repository at this point in the history
  • Loading branch information
hacdias committed Dec 12, 2023
1 parent 400da0a commit 64dcca1
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 401 deletions.
2 changes: 0 additions & 2 deletions core/commands/commands_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,6 @@ func TestCommands(t *testing.T) {
"/diag/profile",
"/diag/sys",
"/dns",
"/file",
"/file/ls",
"/files",
"/files/chcid",
"/files/cp",
Expand Down
2 changes: 0 additions & 2 deletions core/commands/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import (
name "github.com/ipfs/kubo/core/commands/name"
ocmd "github.com/ipfs/kubo/core/commands/object"
"github.com/ipfs/kubo/core/commands/pin"
unixfs "github.com/ipfs/kubo/core/commands/unixfs"

cmds "github.com/ipfs/go-ipfs-cmds"
logging "github.com/ipfs/go-log"
Expand Down Expand Up @@ -156,7 +155,6 @@ var rootSubcommands = map[string]*cmds.Command{
"refs": RefsCmd,
"resolve": ResolveCmd,
"swarm": SwarmCmd,
"file": unixfs.UnixFSCmd,
"update": ExternalBinary("Please see https://github.com/ipfs/ipfs-update/blob/master/README.md#install for installation instructions."),
"version": VersionCmd,
"shutdown": daemonShutdownCmd,
Expand Down
236 changes: 0 additions & 236 deletions core/commands/unixfs/ls.go

This file was deleted.

20 changes: 0 additions & 20 deletions core/commands/unixfs/unixfs.go

This file was deleted.

1 change: 0 additions & 1 deletion test/cli/basic_commands_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,6 @@ func TestCommandDocsWidth(t *testing.T) {
"ipfs pin verify": true,
"ipfs dht get": true,
"ipfs pin remote service add": true,
"ipfs file ls": true,
"ipfs pin update": true,
"ipfs pin rm": true,
"ipfs p2p": true,
Expand Down
Loading

0 comments on commit 64dcca1

Please sign in to comment.