(parent: string | undefined)
| 39 | } |
| 40 | |
| 41 | export const emptySnapshot = (parent: string | undefined): Snapshot => ({ |
| 42 | parent, |
| 43 | reads: [], |
| 44 | resolutions: [], |
| 45 | asked: [], |
| 46 | tsconfigs: [], |
| 47 | given: [] |
| 48 | }) |
| 49 | |
| 50 | export const hashOf = (text: string): string => |
| 51 | createHash("sha256").update(text).digest("base64url") |
no outgoing calls
no test coverage detected