MCPcopy
hub / github.com/codeaashu/claude-code / getFileModificationTimeAsync

Function getFileModificationTimeAsync

src/utils/file.ts:77–82  ·  view source on GitHub ↗
(
  filePath: string,
)

Source from the content-addressed store, hash-verified

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

Callers 3

callFunction · 0.85
getChangedFilesFunction · 0.85
generateFileAttachmentFunction · 0.85

Calls 1

getFsImplementationFunction · 0.85

Tested by

no test coverage detected