GetAllFiles returns all tracked files (created and modified)
()
| 81 | |
| 82 | // GetAllFiles returns all tracked files (created and modified) |
| 83 | func (ft *FileTracker) GetAllFiles() []string { |
| 84 | all := make([]string, 0, len(ft.CreatedFiles)+len(ft.ModifiedFiles)) |
| 85 | all = append(all, ft.CreatedFiles...) |
| 86 | all = append(all, ft.ModifiedFiles...) |
| 87 | return all |
| 88 | } |
| 89 | |
| 90 | // StageAllFiles stages all tracked files using git add |
| 91 | func (ft *FileTracker) StageAllFiles(verbose bool) error { |
no outgoing calls