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

Function glob

packages/opencode/test/tool/read.test.ts:97–98  ·  view source on GitHub ↗
(p: string)

Source from the content-addressed store, hash-verified

95
96const full = (p: string) => (process.platform === "win32" ? Filesystem.normalizePath(p) : p)
97const glob = (p: string) =>
98 process.platform === "win32" ? Filesystem.normalizePathPattern(p) : p.replaceAll("\\", "/")
99const githubBase = <A, E, R>(url: string, self: Effect.Effect<A, E, R>) =>
100 Effect.acquireUseRelease(
101 Effect.sync(() => {

Callers 3

read.test.tsFile · 0.70
fs-util.tsFile · 0.50
scanFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected