Class AddController
Defined in File AddController.hpp
Class Documentation
-
class AddController
Provides a simple interface to add files to a Git index.
Public Functions
-
AddController() = default
-
bool open(git_repository *repo)
Open the index from a repository.
-
bool addFile(const fs::path &path)
Add a file to the staging index.
-
~AddController()
Public Members
-
git_index *index = nullptr
-
AddController() = default