constants.js 626 B

12345678910111213141516
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. exports.SAFE_TIME = exports.S_IFLNK = exports.S_IFREG = exports.S_IFDIR = exports.S_IFMT = void 0;
  4. exports.S_IFMT = 0o170000;
  5. exports.S_IFDIR = 0o040000;
  6. exports.S_IFREG = 0o100000;
  7. exports.S_IFLNK = 0o120000;
  8. /**
  9. * Unix timestamp for `1984-06-22T21:50:00.000Z`
  10. *
  11. * It needs to be after 1980-01-01 because that's what Zip supports, and it
  12. * needs to have a slight offset to account for different timezones (because
  13. * zip assumes that all times are local to whoever writes the file, which is
  14. * really silly).
  15. */
  16. exports.SAFE_TIME = 456789000;