MCPcopy
hub / github.com/CopilotKit/CopilotKit / push

Function push

showcase/shell-docs/src/lib/llm-text.ts:126–130  ·  view source on GitHub ↗
(page: LlmPage)

Source from the content-addressed store, hash-verified

124 const seenUrls = new Set<string>();
125
126 const push = (page: LlmPage): void => {
127 if (seenUrls.has(page.url)) return;
128 seenUrls.add(page.url);
129 pages.push(page);
130 };
131
132 // ROOT_FRAMEWORK's authored pages win at bare root URLs (the same
133 // resolution the live pages use — see UnscopedDocsPage). Walk its

Callers 2

getAllLlmPagesFunction · 0.70

Calls 2

pushMethod · 0.65
hasMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…