SlHelpers
Loading...
Searching...
No Matches
SlGit::Diff::ForEachCB Struct Reference

Callbacks for forEach(). More...

#include <Diff.h>

Public Attributes

const std::function< int(const git_diff_delta &delta, float progress)> file = nullptr
 Callback for each file (old_file and new_file in delta).
const std::function< int(const git_diff_delta &delta, const git_diff_binary &bin)> binary = nullptr
 Callback for each binary bin.
const std::function< int(const git_diff_delta &delta, const git_diff_hunk &hunk)> hunk = nullptr
 Callback for each hunk.
const std::function< int(const git_diff_delta &delta, const git_diff_hunk &hunk, const git_diff_line &line)> line = nullptr
 Callback for each line.

Detailed Description

Callbacks for forEach().


The documentation for this struct was generated from the following file:
  • /home/abuild/rpmbuild/BUILD/slhelpers-20260428.f233ce9-build/slhelpers-20260428.f233ce9/include/git/Diff.h