MCPcopy Create free account
hub / github.com/MatterAIOrg/OrbCode / removeLink

Function removeLink

src/config/links.ts:130–133  ·  view source on GitHub ↗
(cwd: string, targetPath: string)

Source from the content-addressed store, hash-verified

128
129/** Remove a link by its resolved path. */
130export function removeLink(cwd: string, targetPath: string): void {
131 const links = loadLinks(cwd).filter((l) => l.path !== targetPath)
132 saveLinks(cwd, links)
133}
134
135/** First AGENTS.md found inside a linked repo, or undefined. */
136function readLinkedAgents(repo: string): string | undefined {

Callers 1

AppFunction · 0.85

Calls 2

loadLinksFunction · 0.85
saveLinksFunction · 0.85

Tested by

no test coverage detected