MCPcopy Create free account
hub / github.com/garrytan/gstack / normalizeRelativePath

Function normalizeRelativePath

scripts/test-free-shards.ts:114–116  ·  view source on GitHub ↗
(filePath: string)

Source from the content-addressed store, hash-verified

112export const FREE_TEST_TIMEOUT_MS = 10_000;
113
114export function normalizeRelativePath(filePath: string): string {
115 return filePath.replace(/\\/g, '/');
116}
117
118export function isFreeTestFile(relativePath: string): boolean {
119 const normalized = normalizeRelativePath(relativePath);

Callers 3

isFreeTestFileFunction · 0.85
collectFreeTestFilesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected