Function
info
(projectID: WorkspaceInfo["projectID"], type: string)
Source from the content-addressed store, hash-verified
| 4 | import type { WorkspaceInfo } from "../../src/control-plane/types" |
| 5 | |
| 6 | function info(projectID: WorkspaceInfo["projectID"], type: string): WorkspaceInfo { |
| 7 | return { |
| 8 | id: "workspace-test" as WorkspaceInfo["id"], |
| 9 | type, |
| 10 | name: "workspace-test", |
| 11 | branch: null, |
| 12 | directory: null, |
| 13 | extra: null, |
| 14 | projectID, |
| 15 | } |
| 16 | } |
| 17 | |
| 18 | function adapter(dir: string) { |
| 19 | return { |
Tested by
no test coverage detected