remove "tahoe rm"

This commit is contained in:
Jean-Paul Calderone 2020-01-17 09:14:36 -05:00
parent c1fa72bb7c
commit 6d83b9c1e1
2 changed files with 0 additions and 10 deletions

View File

@ -259,10 +259,6 @@ class UnlinkOptions(FileStoreOptions):
synopsis = "[options] REMOTE_FILE"
description = "Remove a named file from its parent directory."
class RmOptions(UnlinkOptions):
synopsis = "[options] REMOTE_FILE"
description = "Remove a named file from its parent directory."
class MvOptions(FileStoreOptions):
def parseArgs(self, frompath, topath):
self.from_file = argv_to_unicode(frompath)
@ -467,7 +463,6 @@ subCommands = [
["put", None, PutOptions, "Upload a file into the grid."],
["cp", None, CpOptions, "Copy one or more files or directories."],
["unlink", None, UnlinkOptions, "Unlink a file or directory on the grid."],
["rm", None, RmOptions, "Unlink a file or directory on the grid (same as unlink)."],
["mv", None, MvOptions, "Move a file within the grid."],
["ln", None, LnOptions, "Make an additional link to an existing file or directory."],
["backup", None, BackupOptions, "Make target dir look like local dir."],

View File

@ -1075,11 +1075,6 @@ class Unlink(GridTestMixin, CLITestMixin, unittest.TestCase):
return d
class Rm(Unlink):
"""Test that 'tahoe rm' behaves in the same way as 'tahoe unlink'."""
command = "rm"
class Stats(GridTestMixin, CLITestMixin, unittest.TestCase):
def test_empty_directory(self):
self.basedir = "cli/Stats/empty_directory"