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

Method find

packages/computer/src/runtime/types.ts:52–52  ·  view source on GitHub ↗
(directory: string, pattern?: string)

Source from the content-addressed store, hash-verified

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

Callers 15

fetch.test.tsFile · 0.65
hashOfFunction · 0.65
coalesce.test.tsFile · 0.65
runMigrationsFunction · 0.65
findFunction · 0.65
filesystem.test.tsFile · 0.65
readdir.test.tsFile · 0.65
runner.test.tsFile · 0.65
wire.test.tsFile · 0.65
globFunction · 0.65
findSpanFunction · 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 7

hashOfFunction · 0.52
findSpanFunction · 0.52
statusOfFunction · 0.52
statusOfFunction · 0.52
getFunction · 0.52
containerConfigFunction · 0.52
fileContentsFunction · 0.52