Skip to content

Commit

Permalink
fix: add methods to the list
Browse files Browse the repository at this point in the history
  • Loading branch information
uhyo committed Aug 21, 2023
1 parent 22a1668 commit a0ba657
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/node/lists/fsCallbackApiList.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ export const fsCallbackApiList: Array<keyof FsCallbackApi> = [
'mkdtemp',
'open',
'read',
'readv',
'readdir',
'readFile',
'readlink',
Expand All @@ -41,5 +42,6 @@ export const fsCallbackApiList: Array<keyof FsCallbackApi> = [
'watch',
'watchFile',
'write',
'writev',
'writeFile',
];
3 changes: 2 additions & 1 deletion src/node/lists/fsSynchronousApiList.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ export const fsSynchronousApiList: Array<keyof FsSynchronousApi> = [
'readFileSync',
'readlinkSync',
'readSync',
'readvSync',
'realpathSync',
'renameSync',
'rmdirSync',
Expand All @@ -37,9 +38,9 @@ export const fsSynchronousApiList: Array<keyof FsSynchronousApi> = [
'utimesSync',
'writeFileSync',
'writeSync',
'writevSync',

// 'cpSync',
// 'lutimesSync',
// 'statfsSync',
// 'writevSync',
];

0 comments on commit a0ba657

Please sign in to comment.