Skip to content

cupertino-files / ZipWriteEntry

Interface: ZipWriteEntry

Defined in: src/base/zip.ts:173

Properties

data

data: Uint8Array

Defined in: src/base/zip.ts:175


dosDate?

optional dosDate?: number

Defined in: src/base/zip.ts:178


dosTime?

optional dosTime?: number

Defined in: src/base/zip.ts:177

DOS timestamp to store; defaults to a fixed date for determinism.


localRank?

optional localRank?: number

Defined in: src/base/zip.ts:192

Position of this entry's local record in the file, when it differs from central-directory order. Incrementally saved documents have the two orders disagree — the app appends data but rewrites the directory — and reproducing the file byte-for-byte means honouring both. Entries without a rank keep array order, after all ranked entries.


name

name: string

Defined in: src/base/zip.ts:174


zip64Local?

optional zip64Local?: boolean

Defined in: src/base/zip.ts:184

Write a ZIP64 extended-info extra (both sizes as u64) in the local header, the way Apple's writer marks Metadata/* and preview entries. See localHeaderHasZip64.

MIT licensed. Independently made — not by Apple in California. Not affiliated with or endorsed by Apple Inc.