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

Method provider

packages/computer/src/workspace.ts:478–483  ·  view source on GitHub ↗

* Underlying dofs `SQLiteWorkspaceProvider` over the local store. * * This is the `@platformatic/vfs`-shaped provider — a node:fs * surface with full symlink support. Callers that want a * `VirtualFileSystem` (e.g. to hand to isomorphic-git) wrap it * themselves to keep `@platformatic

()

Source from the content-addressed store, hash-verified

476 * provider only reads/writes the local store, not the wire.
477 */
478 provider(): SQLiteWorkspaceProvider {
479 if (!this.#provider) {
480 this.#provider = new SQLiteWorkspaceProvider(this.#db, { now: this.#now });
481 }
482 return this.#provider;
483 }
484
485 // ensureMountsIndexed() is the only thing ready() does today;
486 // backends connect lazily on first use. The promise is still

Callers 1

constructorMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected