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

Function normalizeGlobPattern

src/utils/glob.ts:72–75  ·  view source on GitHub ↗
(pattern: string)

Source from the content-addressed store, hash-verified

70}
71
72function normalizeGlobPattern(pattern: string): string {
73 const normalized = pattern.replaceAll('\\', '/')
74 return normalized.startsWith('./') ? normalized.slice(2) : normalized
75}
76
77export function buildFileGlobRipgrepArgs({
78 ignorePatterns,

Callers 5

getDirectoryGlobMaxDepthFunction · 0.85
isExactDirectoryPatternFunction · 0.85
globDirectoriesFunction · 0.85
globFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected