Program Listing for File AddController.hpp
↰ Return to documentation for file (include/editor/featureWrapper/GitWrap/Add/AddController.hpp)
#pragma once
#include <git2.h>
#include <string>
#include <filesystem>
namespace fs = std::filesystem;
class AddController {
public:
git_index *index = nullptr;
AddController() = default;
bool
open(git_repository *repo);
bool
addFile(const fs::path &path);
~AddController();
};