MCPcopy
hub / github.com/cloudflare/capnweb / hasIgnoredPathPart

Function hasIgnoredPathPart

packages/capnweb-validate/src/transform/run.ts:52–56  ·  view source on GitHub ↗
(path: string, cwd: string)

Source from the content-addressed store, hash-verified

50}
51
52function hasIgnoredPathPart(path: string, cwd: string): boolean {
53 return relative(cwd, path)
54 .split(/[\\/]/)
55 .some((part) => SKIP_PATH_PARTS.has(part));
56}
57
58function collectAssetRefs(code: string, importer: string): string[] {
59 let out: string[] = [];

Callers 1

copyAssetsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…