package
0.24.0-rc3
Repository: https://github.com/src-d/gitbase.git
Documentation: pkg.go.dev

# Functions

Calculate calculates the CommitStats for from commit to another.
CalculateByFile calculates the stats for all files from a commit to another.

# Constants

Blank represents an empty line.
Code represents a line of code.
Comment represents a line of comment.
Other represents a line from any other kind.

# Structs

CommitFileStats represents the stats for a file in a commit.
CommitStats represents the stats for a commit.
KindStats represents the stats for a kind of lines in a file.
LineInfo represents the information about a sigle line.

# Type aliases

LineKind defines the kind of a line in a file.