Function add_path_to_index

Source
pub fn add_path_to_index(repo: &Repository, path: &Path)
Expand description

Add a path to the working index.

ยงPanics

If the path cannot be added to the index.