(p: string, isLstat: boolean, cb: BFSCallback<Stats>)
| 867 | } |
| 868 | |
| 869 | public stat(p: string, isLstat: boolean, cb: BFSCallback<Stats>): void { |
| 870 | const tx = this.store.beginTransaction('readonly'); |
| 871 | this.findINode(tx, p, (e: ApiError, inode?: Inode): void => { |
| 872 | if (noError(e, cb)) { |
| 873 | cb(null, inode!.toStats()); |
| 874 | } |
| 875 | }); |
| 876 | } |
| 877 | |
| 878 | public createFile(p: string, flag: FileFlag, mode: number, cb: BFSCallback<File>): void { |
| 879 | const tx = this.store.beginTransaction('readwrite'), |
nothing calls this directly
no test coverage detected