Skip to main content

Module git_head

Module git_head 

Source
Expand description

Where a checkout’s Git HEAD lives and when it last changed, read from the .git directory or gitdir: marker without running Git.

Structs§

GitHeadMetadata

Functions§

capture_git_head_metadata
Find the checkout’s HEAD file (following a linked worktree’s gitdir: marker) and the branch ref it names, with their modification times.