(root: string, path: string)
| 135 | } |
| 136 | |
| 137 | function redactFileInfo(root: string, path: string): Omit<FileInfo, "mtimeMs"> | undefined { |
| 138 | const info = getFileInfo(root, path); |
| 139 | if (!info) return; |
| 140 | const {mtimeMs, ...rest} = info; |
| 141 | return rest; |
| 142 | } |
no test coverage detected