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

Method ls

packages/computer/src/runtime/types.ts:53–53  ·  view source on GitHub ↗
(prefix: string)

Source from the content-addressed store, hash-verified

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,
56 path: string,

Callers 4

filesystem.test.tsFile · 0.65
lsMethod · 0.65
callMethod · 0.65
lsMethod · 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