constants.d.ts 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. export declare const constants: {
  2. O_RDONLY: number;
  3. O_WRONLY: number;
  4. O_RDWR: number;
  5. S_IFMT: number;
  6. S_IFREG: number;
  7. S_IFDIR: number;
  8. S_IFCHR: number;
  9. S_IFBLK: number;
  10. S_IFIFO: number;
  11. S_IFLNK: number;
  12. S_IFSOCK: number;
  13. O_CREAT: number;
  14. O_EXCL: number;
  15. O_NOCTTY: number;
  16. O_TRUNC: number;
  17. O_APPEND: number;
  18. O_DIRECTORY: number;
  19. O_NOATIME: number;
  20. O_NOFOLLOW: number;
  21. O_SYNC: number;
  22. O_DIRECT: number;
  23. O_NONBLOCK: number;
  24. S_IRWXU: number;
  25. S_IRUSR: number;
  26. S_IWUSR: number;
  27. S_IXUSR: number;
  28. S_IRWXG: number;
  29. S_IRGRP: number;
  30. S_IWGRP: number;
  31. S_IXGRP: number;
  32. S_IRWXO: number;
  33. S_IROTH: number;
  34. S_IWOTH: number;
  35. S_IXOTH: number;
  36. F_OK: number;
  37. R_OK: number;
  38. W_OK: number;
  39. X_OK: number;
  40. UV_FS_SYMLINK_DIR: number;
  41. UV_FS_SYMLINK_JUNCTION: number;
  42. UV_FS_COPYFILE_EXCL: number;
  43. UV_FS_COPYFILE_FICLONE: number;
  44. UV_FS_COPYFILE_FICLONE_FORCE: number;
  45. COPYFILE_EXCL: number;
  46. COPYFILE_FICLONE: number;
  47. COPYFILE_FICLONE_FORCE: number;
  48. };
  49. export declare const enum S {
  50. ISUID = 2048,
  51. ISGID = 1024,
  52. ISVTX = 512,
  53. IRUSR = 256,
  54. IWUSR = 128,
  55. IXUSR = 64,
  56. IRGRP = 32,
  57. IWGRP = 16,
  58. IXGRP = 8,
  59. IROTH = 4,
  60. IWOTH = 2,
  61. IXOTH = 1
  62. }