Class BlameController

Class Documentation

class BlameController

Wrapper for libgit2 blame API.

Public Functions

BlameController() = default
bool BlameOpen(git_repository *repo, const fs::path &path, git_blame_options *options = nullptr)

Open a blame object for the given file.

MAYBE_BLAME_RESULT operator[](unsigned int idx)

Retrieve blame information by index.

~BlameController()