Skip to main content

Module types

Module types 

Source
Expand description

Shared types for git operations.

Structs§

BlameLine
Line-level attribution from git blame.
Branch
Branch metadata.
Commit
A git commit object.
DiffEntry
A single file change between two refs.
DiffStats
Aggregated diff statistics.
GrepMatch
A match returned from git grep-style repository inspection.
IndexEntry
A file entry in the git index.
MergeResult
Result returned from merge operations.
Oid
Git object ID (SHA-1 hash, 20 bytes).
RebaseResult
Result returned from rebase operations.
Reference
A git reference (branch, tag, or HEAD).
Remote
Remote repository metadata.
Signature
Author or committer identity.
StashEntry
Information about a stash entry.
StatusEntry
A file’s status in the working tree.
Tag
Tag metadata.
TreeEntry
An entry within a git tree object.

Enums§

BranchFilter
Controls which branches to list.
EntryKind
Type of a tree entry.
EntryState
A file’s state in the working tree or index.
FileStatus
How a file changed in a diff.
ResetMode
Controls repository reset behavior.

Type Aliases§

TreeHash
OID of a tree object for content-addressed comparison.