summaryrefslogtreecommitdiff
path: root/src/mod_db.sig
diff options
context:
space:
mode:
Diffstat (limited to 'src/mod_db.sig')
-rw-r--r--src/mod_db.sig4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mod_db.sig b/src/mod_db.sig
index 2b98ae6f..8f78f2c2 100644
--- a/src/mod_db.sig
+++ b/src/mod_db.sig
@@ -35,4 +35,8 @@ signature MOD_DB = sig
* We might invalidate other declarations that depend on this one, if the timestamp has changed. *)
val lookup : Source.decl -> Elab.decl option
+
+ (* Allow undoing to snapshots after failed compilations. *)
+ val snapshot : unit -> unit
+ val revert : unit -> unit
end