constants.js 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. exports.constants = void 0;
  4. exports.constants = {
  5. O_RDONLY: 0,
  6. O_WRONLY: 1,
  7. O_RDWR: 2,
  8. S_IFMT: 61440,
  9. S_IFREG: 32768,
  10. S_IFDIR: 16384,
  11. S_IFCHR: 8192,
  12. S_IFBLK: 24576,
  13. S_IFIFO: 4096,
  14. S_IFLNK: 40960,
  15. S_IFSOCK: 49152,
  16. O_CREAT: 64,
  17. O_EXCL: 128,
  18. O_NOCTTY: 256,
  19. O_TRUNC: 512,
  20. O_APPEND: 1024,
  21. O_DIRECTORY: 65536,
  22. O_NOATIME: 262144,
  23. O_NOFOLLOW: 131072,
  24. O_SYNC: 1052672,
  25. O_DIRECT: 16384,
  26. O_NONBLOCK: 2048,
  27. S_IRWXU: 448,
  28. S_IRUSR: 256,
  29. S_IWUSR: 128,
  30. S_IXUSR: 64,
  31. S_IRWXG: 56,
  32. S_IRGRP: 32,
  33. S_IWGRP: 16,
  34. S_IXGRP: 8,
  35. S_IRWXO: 7,
  36. S_IROTH: 4,
  37. S_IWOTH: 2,
  38. S_IXOTH: 1,
  39. F_OK: 0,
  40. R_OK: 4,
  41. W_OK: 2,
  42. X_OK: 1,
  43. UV_FS_SYMLINK_DIR: 1,
  44. UV_FS_SYMLINK_JUNCTION: 2,
  45. UV_FS_COPYFILE_EXCL: 1,
  46. UV_FS_COPYFILE_FICLONE: 2,
  47. UV_FS_COPYFILE_FICLONE_FORCE: 4,
  48. COPYFILE_EXCL: 1,
  49. COPYFILE_FICLONE: 2,
  50. COPYFILE_FICLONE_FORCE: 4,
  51. };