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

Function resolve

packages/shared/worktree-pool.ts:99–102  ·  view source on GitHub ↗
(prUrl)

Source from the content-addressed store, hash-verified

97 get(prUrl) { return pool.get(prUrl); },
98 has(prUrl) { return pool.has(prUrl); },
99 resolve(prUrl) {
100 const entry = pool.get(prUrl);
101 return entry?.ready ? entry.path : undefined;
102 },
103
104 async ensure(runtime, metadata) {
105 const existing = pool.get(metadata.url);

Callers 15

resolveGitPathFunction · 0.70
getGitRepositoryInfoFunction · 0.70
getGitMetadataWatchPathsFunction · 0.70
resolveUserPathFunction · 0.70
resolveAbsolutePathFunction · 0.70
resolveCodeFileFunction · 0.70
resolveMarkdownFileCoreFunction · 0.70

Calls 1

getMethod · 0.65

Tested by 2

reservePortFunction · 0.40
websocketRoundTripFunction · 0.40