(root: string, path: string)
| 128 | }); |
| 129 | |
| 130 | function redactModuleInfo(root: string, path: string): Omit<ModuleInfo, "mtimeMs"> | undefined { |
| 131 | const info = getModuleInfo(root, path); |
| 132 | if (!info) return; |
| 133 | const {mtimeMs, ...rest} = info; |
| 134 | return rest; |
| 135 | } |
| 136 | |
| 137 | function redactFileInfo(root: string, path: string): Omit<FileInfo, "mtimeMs"> | undefined { |
| 138 | const info = getFileInfo(root, path); |
no test coverage detected