MCPcopy Create free account
hub / github.com/Noumena-Network/code / relativePosix

Function relativePosix

src/utils/glob.test.ts:22–24  ·  view source on GitHub ↗
(root: string, filePath: string)

Source from the content-addressed store, hash-verified

20}
21
22function relativePosix(root: string, filePath: string): string {
23 return relative(root, filePath).replaceAll('\\', '/')
24}
25
26test('glob supports relative directory patterns like code/*/', async () => {
27 const root = makeTempRoot()

Callers 1

glob.test.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected