(args: string[])
| 140 | } |
| 141 | |
| 142 | export function getRawDiff(args: string[]): string { |
| 143 | return execFileSync( |
| 144 | "git", |
| 145 | ["diff", "--no-color", "--src-prefix=a/", "--dst-prefix=b/", ...args], |
| 146 | { |
| 147 | encoding: "utf8", |
| 148 | stdio: ["ignore", "pipe", "ignore"], |
| 149 | maxBuffer: 50 * 1024 * 1024, |
| 150 | }, |
| 151 | ); |
| 152 | } |
| 153 | |
| 154 | export function getUntrackedFiles(): string[] { |
| 155 | const out = execFileSync("git", ["ls-files", "--others", "--exclude-standard"], { |
no outgoing calls
no test coverage detected