( path: string, gitIndex: string, gitWorking: string, )
| 16 | } |
| 17 | |
| 18 | function toChangedFile( |
| 19 | path: string, |
| 20 | gitIndex: string, |
| 21 | gitWorking: string, |
| 22 | ): ChangedFile { |
| 23 | return { |
| 24 | path, |
| 25 | status: mapGitStatus(gitIndex, gitWorking), |
| 26 | additions: 0, |
| 27 | deletions: 0, |
| 28 | }; |
| 29 | } |
| 30 | |
| 31 | export function parseGitStatus( |
| 32 | status: StatusResult, |
no test coverage detected