Skip to main content

Module snapshot

Module snapshot 

Source
Expand description

Utilities for working with snapshots.

Functionsยง

ancestors_between
Iterate starting from latest_snapshot_id (inclusive) to oldest_snapshot_id (exclusive).
ancestors_of
Iterate starting from snapshot_id (inclusive) to the root snapshot.
snapshot_id_as_of_time
Resolve the snapshot ID from the main-history entry with the greatest timestamp at or before timestamp_ms (milliseconds since the Unix epoch), taking the first entry on ties.