MCPcopy
hub / github.com/claude-code-best/claude-code / getFileModificationTime

Function getFileModificationTime

src/utils/file.ts:66–69  ·  view source on GitHub ↗
(filePath: string)

Source from the content-addressed store, hash-verified

64 * file watchers that touch files without changing content).
65 */
66export 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.

Callers 7

validateInputFunction · 0.85
callFunction · 0.85
validateInputFunction · 0.85
callFunction · 0.85
callFunction · 0.85
applySedEditFunction · 0.85

Calls 1

getFsImplementationFunction · 0.85

Tested by

no test coverage detected