MCPcopy Create free account
hub / github.com/cloudflare/computer / grep

Method grep

packages/computer/src/runtime/types.ts:54–54  ·  view source on GitHub ↗
(
    pattern: string,
    path: string,
    options?: { ignoreCase?: boolean },
  )

Source from the content-addressed store, hash-verified

52 find(directory: string, pattern?: string): Promise<Array<{ path: string; type: "file" | "dir" }>>;
53 ls(prefix: string): Promise<string[]>;
54 grep(
55 pattern: string,
56 path: string,
57 options?: { ignoreCase?: boolean },

Callers 4

filesystem.test.tsFile · 0.65
grepMethod · 0.65
callMethod · 0.65
grepMethod · 0.65

Implementers 3

WorkspaceFilesystempackages/dofs/src/fs/filesystem.ts
WorkspaceFilesystemStubpackages/computer/src/stub.ts
WorkspaceRuntimeCapabilitypackages/computer/src/runtime/capabili

Calls

no outgoing calls

Tested by

no test coverage detected