Validate checks the path is valid.
()
| 304 | |
| 305 | // Validate checks the path is valid. |
| 306 | func (n *StateTreeNodeForPath) Validate() error { |
| 307 | return anyErr( |
| 308 | checkIsValid(n, n.Tree, "tree"), |
| 309 | checkNotNilAndValidate(n, n.Member.Node(), "path"), |
| 310 | ) |
| 311 | } |
| 312 | |
| 313 | // Validate checks the path is valid. |
| 314 | func (n *Stats) Validate() error { |
nothing calls this directly
no test coverage detected