diff options
Diffstat (limited to 'editor/state/storage.mli')
-rwxr-xr-x | editor/state/storage.mli | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/state/storage.mli b/editor/state/storage.mli index 4d022d1..cad2982 100755 --- a/editor/state/storage.mli +++ b/editor/state/storage.mli @@ -25,7 +25,7 @@ val load : Jstr.t option -> content Js.t val save - : check:(content Js.t -> bool) -> content Js.t -> Jstr.t option -> (bool, Jv.Error.t) result + : check:(previous:content Js.t -> update:content Js.t -> bool) -> content Js.t -> Jstr.t option -> (bool, Jv.Error.t) result (** Remove the page from the storage. *) val delete @@ -39,4 +39,4 @@ val to_json : unit -> Jstr.t val of_json - : Jstr.t -> (unit, Jv.Error.t) result + : check:(previous:content Js.t -> update:content Js.t -> bool) -> Jstr.t -> (unit, Jv.Error.t) result |