Function
snapshot
(ref: string, sha: string, entities: ReadonlyArray<ApiEntity> = [])
Source from the content-addressed store, hash-verified
| 12 | import * as Command from "effect/unstable/cli/Command" |
| 13 | |
| 14 | const snapshot = (ref: string, sha: string, entities: ReadonlyArray<ApiEntity> = []): ApiSnapshot => ({ |
| 15 | version: 1, |
| 16 | compiler: { name: "typescript", version: "fixture" }, |
| 17 | ref, |
| 18 | sha, |
| 19 | packages: [], |
| 20 | entrypoints: [], |
| 21 | entities, |
| 22 | diagnostics: [] |
| 23 | }) |
| 24 | |
| 25 | const WorktreesTest = Layer.succeed( |
| 26 | Worktrees, |
Tested by
no test coverage detected