(e)
| 141 | } |
| 142 | |
| 143 | function canonEdge(e) { |
| 144 | const out = { source: e.source, target: e.target, kind: e.kind }; |
| 145 | if (e.line !== undefined) out.line = e.line; |
| 146 | if (e.column !== undefined) out.column = e.column; |
| 147 | if (e.provenance !== undefined) out.provenance = e.provenance; |
| 148 | if (e.metadata !== undefined) out.metadata = e.metadata; |
| 149 | return JSON.stringify(out); |
| 150 | } |
| 151 | |
| 152 | function canonRef(r) { |
| 153 | // FULL object — a field only one path sets is a parity bug (the vitest |
nothing calls this directly
no outgoing calls
no test coverage detected