Skip to content

commitFiles

commitFiles(cwd, hashes, run?): Map<string, string[]>

Defined in: commit-files/commit-files.ts:15

The repo-relative files each of hashes changed, from one git diff-tree --stdin call. A commit that changes nothing (or a merge commit) maps to []. Paths come back verbatim, not quoted, whatever they contain.

string

readonly string[]

GitRun = defaultGitRun

Map<string, string[]>