Support to list snapshot
This commit is contained in:
@@ -173,6 +173,9 @@ def execute_undo(name: str, discard: bool = False) -> ChangeSet:
|
||||
def execute_redo(name: str) -> ChangeSet:
|
||||
return api.execute_redo(name)
|
||||
|
||||
def list_snapshot(name: str) -> list[tuple[int, str]]:
|
||||
return api.list_snapshot(name)
|
||||
|
||||
def have_snapshot(name: str, tag: str) -> bool:
|
||||
return api.have_snapshot(name, tag)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user