aboutsummaryrefslogtreecommitdiffstats
path: root/docs/store.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/store.md')
-rw-r--r--docs/store.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/store.md b/docs/store.md
index 002b906..b766d41 100644
--- a/docs/store.md
+++ b/docs/store.md
@@ -113,6 +113,8 @@ pub trait Fold {
}
/// The checkpoint at `heads`, read as `at`: its bytes, and the events it keeps.
fn checkpoint(at: &Self::State, heads: &[Id]) -> (Vec<u8>, Vec<Id>);
+ /// The heads a checkpoint was built at, and the events it keeps.
+ fn parts(checkpoint: &[u8]) -> Option<(Vec<Id>, Vec<Id>)>;
/// The state a checkpoint reads as, with the events it keeps.
fn start(checkpoint: &[u8], kept: &[(Id, Vec<u8>)]) -> Result<Self::State, Refused>;
/// The root of a fork at `heads` of the stores reading as `at`, made by `spec`.