(location: LocationRef)
| 48 | } |
| 49 | |
| 50 | function locationKey(location: LocationRef) { |
| 51 | return JSON.stringify([location.directory, location.workspaceID]) |
| 52 | } |
| 53 | |
| 54 | function locationQuery(ref?: LocationRef) { |
| 55 | return ref ? { directory: ref.directory, workspace: ref.workspaceID } : undefined |