(file: File, realPath: string)
| 498 | } |
| 499 | |
| 500 | private addFileByRealPath(file: File, realPath: string) { |
| 501 | if (! has(this.realPathToFiles, realPath)) { |
| 502 | this.realPathToFiles[realPath] = []; |
| 503 | } |
| 504 | |
| 505 | const files = this.realPathToFiles[realPath]; |
| 506 | |
| 507 | if (files.indexOf(file) < 0) { |
| 508 | files.push(file); |
| 509 | } |
| 510 | |
| 511 | return file; |
| 512 | } |
| 513 | |
| 514 | private getInfoByRealPath(realPath: string): RawFile | null { |
| 515 | const files = this.realPathToFiles[realPath]; |
no test coverage detected