mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2024-11-22 16:03:15 +00:00
最後に追加したLogを削除するメソッド追加
This commit is contained in:
parent
383b34c3d2
commit
113bca723f
|
@ -16,6 +16,8 @@ public interface LacertaVcs {
|
|||
|
||||
public void deletePage(int index);
|
||||
|
||||
public void undo();
|
||||
|
||||
public void createDocument(String documentId);
|
||||
|
||||
public void generateRevisionAtCurrent(String message);
|
||||
|
|
|
@ -67,6 +67,11 @@ public class LacertaVcsImpl implements LacertaVcs {
|
|||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void undo() {
|
||||
database.vcsLogDao().deleteLatestByDocumentId(documentId);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void createDocument(String documentId) {
|
||||
logger.debug(TAG, "createDocument");
|
||||
|
|
Loading…
Reference in New Issue
Block a user