MCPcopy Create free account
hub / github.com/Effect-TS/effect / timestampLength

Function timestampLength

packages/effect/src/encoding/Zip.ts:948–948  ·  view source on GitHub ↗
(record: EntryRecord)

Source from the content-addressed store, hash-verified

946}
947
948const timestampLength = (record: EntryRecord): number => record.seconds === undefined ? 0 : 9
949
950const writeTimestamp = (bytes: Uint8Array, view: DataView, at: number, record: EntryRecord): void => {
951 if (record.seconds === undefined) return

Callers 2

localHeaderFunction · 0.85
centralHeaderFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected