MCPcopy Index your code
hub / github.com/forloopcodes/contextplus / formatHubLink

Function formatHubLink

src/core/hub.ts:120–124  ·  view source on GitHub ↗
(target: string, description: string)

Source from the content-addressed store, hash-verified

118}
119
120export function formatHubLink(target: string, description: string): string {
121 return description
122 ? `- [[${target}|${description}]]`
123 : `- [[${target}]]`;
124}

Callers 1

hub.test.mjsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected