(p: string, mode: number, cb: BFSOneArgCallback)
| 923 | } |
| 924 | |
| 925 | public mkdir(p: string, mode: number, cb: BFSOneArgCallback): void { |
| 926 | const tx = this.store.beginTransaction('readwrite'), |
| 927 | data = Buffer.from('{}'); |
| 928 | this.commitNewFile(tx, p, FileType.DIRECTORY, mode, data, cb); |
| 929 | } |
| 930 | |
| 931 | public readdir(p: string, cb: BFSCallback<string[]>): void { |
| 932 | const tx = this.store.beginTransaction('readonly'); |
nothing calls this directly
no test coverage detected