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

Function glob

packages/opencode/test/tool/external-directory.test.ts:27–28  ·  view source on GitHub ↗
(p: string)

Source from the content-addressed store, hash-verified

25}
26
27const glob = (p: string) =>
28 process.platform === "win32" ? Filesystem.normalizePathPattern(p) : p.replaceAll("\\", "/")
29
30function makeCtx() {
31 const requests: Array<Omit<PermissionV1.Request, "id" | "sessionID" | "tool">> = []

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected