(_path: string)
| 40 | } |
| 41 | |
| 42 | async hash(_path: string): Promise<string> { |
| 43 | const file = this.canonical(_path); |
| 44 | const contents: Buffer = fs.readFileSync(file); |
| 45 | return sha1Binary(contents as any as ArrayBuffer); |
| 46 | } |
| 47 | |
| 48 | async write(_path: string, contents: string): Promise<void> { |
| 49 | const file = this.canonical(_path); |
nothing calls this directly
no test coverage detected