(cwd: string, args: string[], env: NodeJS.ProcessEnv = process.env)
| 21 | import { getGitChangedFiles } from '../src/extraction/index'; |
| 22 | |
| 23 | function git(cwd: string, args: string[], env: NodeJS.ProcessEnv = process.env): string { |
| 24 | return execFileSync('git', args, { cwd, encoding: 'utf8', stdio: ['ignore', 'pipe', 'pipe'], env }); |
| 25 | } |
| 26 | |
| 27 | /** Give a tracked file new stat info with the same content, so status has an entry to refresh. */ |
| 28 | function staleStatInfo(file: string, offsetSec: number): void { |
no outgoing calls
no test coverage detected