MCPcopy Index your code
hub / github.com/codeaashu/claude-code / isLocationLink

Function isLocationLink

src/tools/LSPTool/LSPTool.ts:616–618  ·  view source on GitHub ↗

* Checks if item is LocationLink (has targetUri) vs Location (has uri)

(item: Location | LocationLink)

Source from the content-addressed store, hash-verified

614 * Checks if item is LocationLink (has targetUri) vs Location (has uri)
615 */
616function isLocationLink(item: Location | LocationLink): item is LocationLink {
617 return 'targetUri' in item
618}
619
620/**
621 * Converts LocationLink to Location format for uniform handling

Callers 1

toLocationFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected