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

Function includeWorkspaceFile

apps/pi-extension/server/reference.ts:239–241  ·  view source on GitHub ↗
(relativePath: string, _change: WorkspaceFileChange)

Source from the content-addressed store, hash-verified

237}
238
239function includeWorkspaceFile(relativePath: string, _change: WorkspaceFileChange): boolean {
240 return FILE_BROWSER_EXTENSIONS.test(relativePath) && !isFileBrowserExcludedPath(relativePath);
241}
242
243/** Serve a linked markdown document. Uses shared resolveMarkdownFile for parity with Bun server. */
244export async function handleDocRequest(res: Res, url: URL, options: HandleDocOptions = {}): Promise<void> {

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected