MCPcopy Create free account
hub / github.com/backnotprop/plannotator / exists

Function exists

packages/shared/at-reference.test.ts:62–62  ·  view source on GitHub ↗
(p: string)

Source from the content-addressed store, hash-verified

60 // Primary behavior: stripped form wins if it resolves.
61 test("returns the stripped path when it resolves", () => {
62 const exists = (p: string) => p === "foo.md";
63 expect(resolveAtReference("@foo.md", exists)).toBe("foo.md");
64 });
65

Callers 2

resolveAtReferenceFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected