Function choose_files
Source pub fn choose_files(path_items: Vec<PathItems>) -> Vec<PathItems>
Expand description
Prompts the user to select files to stage and returns the selected file paths.
If no files are selected, the program exits.
§Arguments
repo
- A reference to the git repository.
§Returns
A vector of selected file paths as strings.