(node *Node, path []string)
| 239 | // Logic outside the chasm package should only work with encoded paths. |
| 240 | NodePathEncoder interface { |
| 241 | Encode(node *Node, path []string) (string, error) |
| 242 | // TODO: Return a iterator on node name instead of []string, |
| 243 | // so that we can get a node by encoded path without additional |
| 244 | // allocation for the decoded path. |
no outgoing calls