( worktreePath: string, filePath: string, content: string, )
| 307 | } |
| 308 | |
| 309 | setFileContent( |
| 310 | worktreePath: string, |
| 311 | filePath: string, |
| 312 | content: string, |
| 313 | ): void { |
| 314 | const key = `${worktreePath}:${filePath}`; |
| 315 | const hash = computeContentHash(content); |
| 316 | this.fileContentsCache.set(key, content, hash, content.length * 2); |
| 317 | } |
| 318 | |
| 319 | invalidateFileContent(worktreePath: string, filePath: string): void { |
| 320 | const key = `${worktreePath}:${filePath}`; |
no test coverage detected