( filePath: string, )
| 75 | * slow disks). |
| 76 | */ |
| 77 | export async function getFileModificationTimeAsync( |
| 78 | filePath: string, |
| 79 | ): Promise<number> { |
| 80 | const s = await getFsImplementation().stat(filePath) |
| 81 | return Math.floor(s.mtimeMs) |
| 82 | } |
| 83 | |
| 84 | export function writeTextContent( |
| 85 | filePath: string, |
no test coverage detected