Expand description
Utility for operation id resolution and traversal.
Structs§
- Reparent
Stats - Stats about
reparent_range()
.
Enums§
- Opset
Evaluation Error - Error that may occur during evaluation of operation set expression.
- Opset
Resolution Error - Error that may occur during parsing and resolution of operation set expression.
Functions§
- get_
current_ head_ ops - Loads the current head operations. The returned operations may contain redundant ones which are ancestors of the other heads.
- reparent_
range - Reparents the operation range
root_ops..head_ops
onto thedest_op
. - resolve_
op_ at - Resolves operation set expression at the given head operations.
- resolve_
op_ for_ load - Resolves operation set expression without loading a repo.
- resolve_
op_ with_ repo - Resolves operation set expression against the loaded repo.
- walk_
ancestors - Walks
head_ops
and their ancestors in reverse topological order. - walk_
ancestors_ range - Walks ancestors from
head_ops
in reverse topological order, excluding ancestors ofroot_ops
.