MCPcopy Create free account
hub / github.com/anomalyco/opencode / glob

Function glob

packages/opencode/test/tool/shell.test.ts:125–126  ·  view source on GitHub ↗
(p: string)

Source from the content-addressed store, hash-verified

123 return text
124}
125const glob = (p: string) =>
126 process.platform === "win32" ? Filesystem.normalizePathPattern(p) : p.replaceAll("\\", "/")
127
128const forms = (dir: string) => {
129 if (process.platform !== "win32") return [dir]

Callers 1

shell.test.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected