Function
snapshotCacheKey
(
sha: string,
modules?: ReadonlyArray<string>
)
Source from the content-addressed store, hash-verified
| 844 | } |
| 845 | |
| 846 | export const snapshotCacheKey = ( |
| 847 | sha: string, |
| 848 | modules?: ReadonlyArray<string> |
| 849 | ): string => fingerprint(["snapshot-v4", sha, ts.version, modules === undefined ? "all" : [...modules].sort()]) |
| 850 | |
| 851 | export class Snapshotter extends Context.Service<Snapshotter, { |
| 852 | readonly extract: (options: ExtractSnapshotOptions) => Effect.Effect< |
Tested by
no test coverage detected