(ws: Workspace)
| 593 | readonly #useThink: boolean; |
| 594 | |
| 595 | constructor(ws: Workspace) { |
| 596 | super(); |
| 597 | this.#fs = new WorkspaceFilesystemStub(ws); |
| 598 | this.#runtime = new WorkspaceRuntimeStub(ws); |
| 599 | this.#git = new WorkspaceGitStub(ws); |
| 600 | this.#assets = ws.assets === undefined ? undefined : new WorkspaceAssetsStub(ws); |
| 601 | this.#artifacts = new WorkspaceArtifactsStub(ws.artifacts); |
| 602 | this.#useThink = ws.useThink; |
| 603 | trackStub(this); |
| 604 | } |
| 605 | |
| 606 | // Cascade disposal to the sub-stubs. Workers-RPC exposes them as |
| 607 | // getters off this object, so the caller can't reach them as |
nothing calls this directly
no test coverage detected