NoFS.d.ts 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. import { FakeFS } from './FakeFS';
  2. import { PortablePath } from './path';
  3. export declare class NoFS extends FakeFS<PortablePath> {
  4. static readonly instance: NoFS;
  5. constructor();
  6. getExtractHint(): never;
  7. getRealPath(): never;
  8. resolve(): never;
  9. openPromise(): Promise<never>;
  10. openSync(): never;
  11. opendirPromise(): Promise<never>;
  12. opendirSync(): never;
  13. readPromise(): Promise<never>;
  14. readSync(): never;
  15. writePromise(): Promise<never>;
  16. writeSync(): never;
  17. closePromise(): Promise<never>;
  18. closeSync(): never;
  19. createWriteStream(): never;
  20. createReadStream(): never;
  21. realpathPromise(): Promise<never>;
  22. realpathSync(): never;
  23. readdirPromise(): Promise<never>;
  24. readdirSync(): never;
  25. existsPromise(p: PortablePath): Promise<never>;
  26. existsSync(p: PortablePath): never;
  27. accessPromise(): Promise<never>;
  28. accessSync(): never;
  29. statPromise(): Promise<never>;
  30. statSync(): never;
  31. fstatPromise(fd: number): Promise<never>;
  32. fstatSync(fd: number): never;
  33. lstatPromise(p: PortablePath): Promise<never>;
  34. lstatSync(p: PortablePath): never;
  35. fchmodPromise(): Promise<never>;
  36. fchmodSync(): never;
  37. chmodPromise(): Promise<never>;
  38. chmodSync(): never;
  39. fchownPromise(): Promise<never>;
  40. fchownSync(): never;
  41. chownPromise(): Promise<never>;
  42. chownSync(): never;
  43. mkdirPromise(): Promise<never>;
  44. mkdirSync(): never;
  45. rmdirPromise(): Promise<never>;
  46. rmdirSync(): never;
  47. linkPromise(): Promise<never>;
  48. linkSync(): never;
  49. symlinkPromise(): Promise<never>;
  50. symlinkSync(): never;
  51. renamePromise(): Promise<never>;
  52. renameSync(): never;
  53. copyFilePromise(): Promise<never>;
  54. copyFileSync(): never;
  55. appendFilePromise(): Promise<never>;
  56. appendFileSync(): never;
  57. writeFilePromise(): Promise<never>;
  58. writeFileSync(): never;
  59. unlinkPromise(): Promise<never>;
  60. unlinkSync(): never;
  61. utimesPromise(): Promise<never>;
  62. utimesSync(): never;
  63. readFilePromise(): Promise<never>;
  64. readFileSync(): never;
  65. readlinkPromise(): Promise<never>;
  66. readlinkSync(): never;
  67. truncatePromise(): Promise<never>;
  68. truncateSync(): never;
  69. ftruncatePromise(fd: number, len?: number): Promise<never>;
  70. ftruncateSync(fd: number, len?: number): never;
  71. watch(): never;
  72. watchFile(): never;
  73. unwatchFile(): never;
  74. }