remove unused code

This commit is contained in:
Peter Evans 2024-08-09 16:40:41 +00:00
parent 53ed82a297
commit 72cf0929ae
3 changed files with 0 additions and 29 deletions

View file

@ -216,15 +216,6 @@ export class GitCommandManager {
return output.exitCode === 1
}
async getChangedFiles(options?: string[]): Promise<string[]> {
const args = ['diff', '--name-only']
if (options) {
args.push(...options)
}
const output = await this.exec(args)
return output.stdout.split('\n').filter(filename => filename != '')
}
async isDirty(untracked: boolean, pathspec?: string[]): Promise<boolean> {
const pathspecArgs = pathspec ? ['--', ...pathspec] : []
// Check untracked changes