(from: Node, to: Node, fromNodeName: string)
| 345 | * using the path generated by this function. |
| 346 | */ |
| 347 | export function calcPathBetween(from: Node, to: Node, fromNodeName: string): string | null { |
| 348 | const path = navigateBetween(from, to); |
| 349 | return path === null ? null : compressNodeLocation(fromNodeName, path); |
| 350 | } |
| 351 | |
| 352 | /** |
| 353 | * Invoked at serialization time (on the server) when a set of navigation |
no test coverage detected