Function
updateDeleteFileStat
(filePath: string, mtime: number, size: number)
Source from the content-addressed store, hash-verified
| 109 | } |
| 110 | |
| 111 | export function updateDeleteFileStat(filePath: string, mtime: number, size: number): void { |
| 112 | for (const entry of deletes.values()) { |
| 113 | if (entry.sourceLocation.filePath === filePath && entry.fileMtime == null) { |
| 114 | entry.fileMtime = mtime; |
| 115 | entry.fileSize = size; |
| 116 | } |
| 117 | } |
| 118 | } |
| 119 | |
| 120 | export function clearAllDeletes(): void { |
| 121 | for (const entry of deletes.values()) { |
Tested by
no test coverage detected