Git.DiffFile (git v0.4.0)

Copy Markdown View Source

Parsed representation of a single file's contribution to a git diff --stat.

Contains the file path, insertion and deletion counts, and a flag for binary files (which do not have line-level stats).

Summary

Types

t()

@type t() :: %Git.DiffFile{
  binary: boolean(),
  deletions: non_neg_integer(),
  insertions: non_neg_integer(),
  path: String.t()
}