Skip to main content

head_files

Function head_files 

Source
pub fn head_files() -> Result<Vec<String>>
Expand description

Paths that change whenever HEAD resolves to another commit: the HEAD file, the branch ref it points to, and packed-refs. Resolved through git so linked worktrees watch their own HEAD and the shared refs. Only existing files: cargo reruns a script on every build for a missing one.