Function
trailKey
(trail: ScopeTrail | undefined)
Source from the content-addressed store, hash-verified
| 30 | } |
| 31 | |
| 32 | function trailKey(trail: ScopeTrail | undefined): string { |
| 33 | return trail === undefined ? '' : trail.kind === 'calls' ? 'calls' : `path:${trail.target}`; |
| 34 | } |
| 35 | |
| 36 | export const galaxyHistoryOptions: NavigationHistoryOptions<GalaxyHistoryEntry> = { |
| 37 | key: (entry) => JSON.stringify([entry.scope ? scopeIdentity(entry.scope) : null, entry.scope ? entry.depth : 0, |
Tested by
no test coverage detected