addWrites method
This write with every write of updates added below path.
Implementation
CompoundWrite addWrites(Path path, CompoundWrite updates) =>
updates.writeTree.foldValues<CompoundWrite>(
this,
(Path relativePath, Node value, CompoundWrite accum) =>
accum.addWrite(path.childPath(relativePath), value),
);