We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f604fa commit 24c4c05Copy full SHA for 24c4c05
src/index.js
@@ -25,13 +25,14 @@ module.exports = class FS {
25
} else {
26
this.superblockPromise = this._loadSuperblock();
27
}
28
- // Needed so things don't break if you pass individual functions to `pify` etc
+ // Needed so things don't break if you destructure fs and pass individual functions around
29
this.readFile = this.readFile.bind(this)
30
this.writeFile = this.writeFile.bind(this)
31
this.unlink = this.unlink.bind(this)
32
this.mkdir = this.mkdir.bind(this)
33
this.rmdir = this.rmdir.bind(this)
34
this.readdir = this.readdir.bind(this)
35
+ this.rename = this.rename.bind(this)
36
this.stat = this.stat.bind(this)
37
this.lstat = this.lstat.bind(this)
38
0 commit comments