Trait jujutsu_lib::op_heads_store::OpHeadsStore
source · pub trait OpHeadsStore: Send + Sync + Debug {
// Required methods
fn name(&self) -> &str;
fn add_op_head(&self, id: &OperationId);
fn remove_op_head(&self, id: &OperationId);
fn get_op_heads(&self) -> Vec<OperationId>;
fn lock<'a>(&'a self) -> Box<dyn OpHeadsStoreLock<'a> + 'a>;
// Provided method
fn handle_ancestor_ops(&self, op_heads: Vec<Operation>) -> Vec<Operation> { ... }
}
Expand description
Manages the set of current heads of the operation log.