childCompoundWrite method
The part of this write below path, relative to it.
Implementation
CompoundWrite childCompoundWrite(Path path) {
if (path.isEmpty) {
return this;
}
final Node? shadowingNode = getCompleteNode(path);
if (shadowingNode != null) {
return CompoundWrite(ImmutableTree<Node>(shadowingNode));
}
return CompoundWrite(writeTree.subtree(path));
}