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

Method stat

packages/computer/src/stub.ts:126–130  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

124 }
125
126 stat(path: string): Promise<WorkspaceStatResult> {
127 return withSpan(this.#ws.observer, "workspace.fs.stat", { "workspace.fs.path": path }, () =>
128 this.#ws.fs.stat(path),
129 );
130 }
131
132 async statOrNull(path: string): Promise<WorkspaceStatResult | null> {
133 return withSpan(

Callers

nothing calls this directly

Calls 2

withSpanFunction · 0.85
statMethod · 0.65

Tested by

no test coverage detected