MCPcopy Create free account
hub / github.com/AnukarOP/claude-code-leaked / getFileModificationTimeAsync

Function getFileModificationTimeAsync

source code/utils/file.ts:79–84  ·  view source on GitHub ↗
(
  filePath: string,
)

Source from the content-addressed store, hash-verified

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

Callers 3

callFunction · 0.85
getChangedFilesFunction · 0.85
generateFileAttachmentFunction · 0.85

Calls 1

getFsImplementationFunction · 0.85

Tested by

no test coverage detected