description: Reroot to a subtree, maintaining an input proto index.
View source on GitHub
|
Reroot to a subtree, maintaining an input proto index.
reroot is similar to get_descendant_or_error. However, this method allows you to call create_proto_index(...) later on, that gives you a reference to the original proto.
reroot(...): Reroot to a new path, maintaining a input proto index.
View source on GitHub