()
| 204 | } |
| 205 | |
| 206 | export function missingDocument(): Extract<MemoryDocumentSnapshot, { kind: 'missing' }> { |
| 207 | return { kind: 'missing', revision: null, byteLength: 0 }; |
| 208 | } |
| 209 | |
| 210 | export function revision(bytes: Uint8Array): MemoryRevision { |
| 211 | return `sha256:${createHash('sha256').update(bytes).digest('hex')}`; |
no outgoing calls
no test coverage detected