MCPcopy Create free account
hub / github.com/github/gh-aw / GetAllFiles

Method GetAllFiles

pkg/cli/file_tracker.go:83–88  ·  view source on GitHub ↗

GetAllFiles returns all tracked files (created and modified)

()

Source from the content-addressed store, hash-verified

81
82// GetAllFiles returns all tracked files (created and modified)
83func (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
91func (ft *FileTracker) StageAllFiles(verbose bool) error {

Callers 2

StageAllFilesMethod · 0.95

Calls

no outgoing calls

Tested by 1