Stub out more actions

This commit is contained in:
Marek Wolan
2023-09-19 11:46:02 +01:00
parent aa6834ad08
commit 898123cb10
2 changed files with 5 additions and 0 deletions

View File

@@ -339,6 +339,8 @@ class Folder(FileSystemItemABC):
am.add_action("checkhash", Action(func=lambda request, context: ...)) # TODO implement action
am.add_action("repair", Action(func=lambda request, context: ...)) # TODO implement action
am.add_action("restore", Action(func=lambda request, context: ...)) # TODO implement action
am.add_action("delete", Action(func=lambda request, context: ...)) # TODO implement action
am.add_action("corrupt", Action(func=lambda request, context: ...)) # TODO implement action
return am
@@ -515,6 +517,7 @@ class File(FileSystemItemABC):
am.add_action("delete", Action(func=lambda request, context: ...)) # TODO implement action
am.add_action("repair", Action(func=lambda request, context: ...)) # TODO implement action
am.add_action("restore", Action(func=lambda request, context: ...)) # TODO implement action
am.add_action("corrupt", Action(func=lambda request, context: ...)) # TODO implement action
return am