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

Function isDirectoryGlobPattern

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

Source from the content-addressed store, hash-verified

66}
67
68function isDirectoryGlobPattern(pattern: string): boolean {
69 return pattern.endsWith('/') || pattern.endsWith(sep)
70}
71
72function normalizeGlobPattern(pattern: string): string {
73 const normalized = pattern.replaceAll('\\', '/')

Callers 1

globFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected