Records the error if non-nil. Will be returned from WriteTree, ultimately.
(err error)
| 94 | // Records the error if non-nil. |
| 95 | // Will be returned from WriteTree, ultimately. |
| 96 | func (p *treeWriter) err(err error) { |
| 97 | p.e = errors.Join(p.e, err) |
| 98 | } |
| 99 | |
| 100 | // writeTree writes the tree to the writer. |
| 101 | // |
no outgoing calls
no test coverage detected