Git.TreeEntry (git v0.4.0)

Copy Markdown View Source

Struct representing a single entry from git ls-tree output.

Each entry contains the file mode, object type, SHA, path, and optionally the object size (when --long is used).

Summary

Types

t()

@type t() :: %Git.TreeEntry{
  mode: String.t(),
  path: String.t(),
  sha: String.t(),
  size: non_neg_integer() | nil,
  type: :blob | :tree | :commit
}