aboutsummaryrefslogtreecommitdiffhomepage
path: root/library/lib.mli
diff options
context:
space:
mode:
Diffstat (limited to 'library/lib.mli')
-rw-r--r--library/lib.mli7
1 files changed, 6 insertions, 1 deletions
diff --git a/library/lib.mli b/library/lib.mli
index 1d601f7b6..cf8b173b0 100644
--- a/library/lib.mli
+++ b/library/lib.mli
@@ -7,7 +7,7 @@ open Libobject
open Summary
(*i*)
-(* This module provides a general mechanism to keep a trace of all operations
+(*s This module provides a general mechanism to keep a trace of all operations
and to backtrack (undo) those operations. It provides also the section
mechanism (at a low level; discharge is not known at this step). *)
@@ -29,6 +29,11 @@ and library_segment = library_entry list
val add_leaf : identifier -> path_kind -> obj -> section_path
val add_anonymous_leaf : obj -> unit
+
+(*s The function [contents_after] returns the current library segment,
+ starting from a given section path. If not given, the entire segment
+ is returned. *)
+
val contents_after : section_path option -> library_segment