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