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

Method mkdir

packages/computer/src/stub.ts:239–246  ·  view source on GitHub ↗
(path: string, options: MkdirOptions = {})

Source from the content-addressed store, hash-verified

237 }
238
239 mkdir(path: string, options: MkdirOptions = {}): Promise<void> {
240 return withSpan(
241 this.#ws.observer,
242 "workspace.fs.mkdir",
243 { "workspace.fs.path": path, "workspace.fs.recursive": options.recursive },
244 () => this.#ws.fs.mkdir(path, options),
245 );
246 }
247
248 rm(path: string, options: RmOptions = {}): Promise<void> {
249 return withSpan(

Callers

nothing calls this directly

Calls 2

withSpanFunction · 0.85
mkdirMethod · 0.65

Tested by

no test coverage detected