(dirPath: string)
| 112 | * @returns Full commit SHA or null if not a git repo |
| 113 | */ |
| 114 | export function getGitCommitSha(dirPath: string): Promise<string | null> { |
| 115 | return getHeadForDir(dirPath) |
| 116 | } |
| 117 | |
| 118 | /** |
| 119 | * Extract version from a versioned cache path. |
no test coverage detected