Skip to main content

constants

Index

Variables

constSAFE_TIME

SAFE_TIME: 456789000 = 456789000

Unix timestamp for 1984-06-22T21:50:00.000Z

It needs to be after 1980-01-01 because that’s what Zip supports, and it needs to have a slight offset to account for different timezones (because zip assumes that all times are local to whoever writes the file, which is really silly).

constS_IFDIR

S_IFDIR: 16384 = 0o040000

constS_IFLNK

S_IFLNK: 40960 = 0o120000

constS_IFMT

S_IFMT: 61440 = 0o170000

constS_IFREG

S_IFREG: 32768 = 0o100000