More snapshot api

This commit is contained in:
wqy
2022-09-03 09:37:31 +08:00
parent 555cab3627
commit 5f3db14067
3 changed files with 13 additions and 5 deletions

View File

@@ -49,6 +49,9 @@ def undo(name: str) -> None:
def redo(name: str) -> None:
return api.redo(name)
def have_snapshot(name: str, tag: str) -> None:
return api.have_snapshot(name, tag)
def take_snapshot(name: str, tag: str) -> None:
return api.take_snapshot(name, tag)