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

Method stat

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

Source from the content-addressed store, hash-verified

36 readFile(path: string): Promise<ReadableStream<Uint8Array>>;
37 readFile(path: string, encoding: "utf8"): Promise<string>;
38 stat(path: string): Promise<WorkspaceRuntimeStat>;
39 lstat(path: string): Promise<WorkspaceRuntimeStat>;
40 readlink(path: string): Promise<string>;
41 readdir(

Callers 3

callMethod · 0.65
statMethod · 0.65
#assertReadableSizeMethod · 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