Expose current operation to client

This commit is contained in:
wqy
2022-09-17 23:56:53 +08:00
parent 5f87bb9e97
commit 6a8db3f661
3 changed files with 13 additions and 9 deletions

View File

@@ -64,6 +64,9 @@ def copy_project(source: str, new: str) -> None:
# operation
############################################################
def get_current_operation(name: str) -> int:
return api.get_current_operation(name)
def undo(name: str) -> None:
return api.undo(name)