Skip to content

Commit

Permalink
fix: πŸ› remove unused method
Browse files Browse the repository at this point in the history
  • Loading branch information
streamich committed Sep 19, 2021
1 parent ef6a375 commit 05b2a47
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/volume.ts
Original file line number Diff line number Diff line change
Expand Up @@ -799,6 +799,10 @@ export class Volume {
return file;
}

/**
* @todo This is not used anymore. Remove.
*/
/*
private getNodeByIdOrCreate(id: TFileId, flags: number, perm: number): Node {
if (typeof id === 'number') {
const file = this.getFileByFd(id);
Expand All @@ -822,6 +826,7 @@ export class Volume {
throw createError(ENOENT, 'getNodeByIdOrCreate', pathToFilename(id));
}
}
*/

private wrapAsync(method: (...args) => void, args: any[], callback: TCallback<any>) {
validateCallback(callback);
Expand Down

0 comments on commit 05b2a47

Please sign in to comment.