Skip to content

@saflib/node


Function: getGitHashes() ​

getGitHashes(): GitHashes

Reads git hashes from the JSON file generated by saf-git-hashes. Falls back to { root: "unknown", saflib: "unknown" } when the file is missing (e.g. local dev without running the generator).

Returns ​

GitHashes