MCPcopy Create free account
hub / github.com/ColmapView/Colmapview.github.io / makePathExists

Function makePathExists

src/config/viteLocalAliasPolicy.test.ts:7–10  ·  view source on GitHub ↗
(existingPaths: string[])

Source from the content-addressed store, hash-verified

5const rootDir = path.resolve('/repo/colmap-webview');
6
7function makePathExists(existingPaths: string[]) {
8 const normalized = new Set(existingPaths.map((targetPath) => path.normalize(targetPath)));
9 return (targetPath: string) => normalized.has(path.normalize(targetPath));
10}
11
12function makePolicy({
13 command = 'build',

Callers 1

makePolicyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected