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

Function isFileBrowserExcludedPath

packages/shared/reference-common.ts:36–43  ·  view source on GitHub ↗
(relativePath: string)

Source from the content-addressed store, hash-verified

34);
35
36export function isFileBrowserExcludedPath(relativePath: string): boolean {
37 const normalized = relativePath.replace(/\\/g, "/").replace(/^\/+/, "");
38 if (!normalized) return false;
39 return normalized
40 .split("/")
41 .filter(Boolean)
42 .some((part) => FILE_BROWSER_EXCLUDED_NAMES.has(part));
43}
44
45export interface VaultNode {
46 name: string;

Callers 7

includeWorkspaceFileFunction · 0.90
walkFileBrowserFilesFunction · 0.90
walkMarkdownFilesFunction · 0.85
includeWorkspaceFileFunction · 0.85

Calls 2

replaceMethod · 0.80
hasMethod · 0.80

Tested by

no test coverage detected