(filePath: string)
| 64 | * file watchers that touch files without changing content). |
| 65 | */ |
| 66 | export function getFileModificationTime(filePath: string): number { |
| 67 | const fs = getFsImplementation() |
| 68 | return Math.floor(fs.statSync(filePath).mtimeMs) |
| 69 | } |
| 70 | |
| 71 | /** |
| 72 | * Async variant of getFileModificationTime. Same floor semantics. |
no test coverage detected