Function: getGitTimestamp() ​

Source: 1.6.4 · 22409527bf39

ts
function getGitTimestamp(
   file, 
   type?, 
   cache?
): Promise<number>;

Defined in: packages/valaxy/node/utils/getGitTimestamp.ts:33

Read commit timestamps from the file’s repository, following renames.

Parameters ​

file ​

string

type? ​

"updated" | "created" = 'updated'

cache? ​

Map<string, Promise<number>>

Returns ​

Promise<number>