Skip to main content

Module git

Module git 

Source
Expand description

Git integration module

Structs§

FileDiff
Complete diff output for a file
GitStatus
Git repository status information

Enums§

DiffLine
A line in a diff output
FileStatus
Git file status

Functions§

get_diff
Get the diff for a file
is_staged
Check if a file is staged (has changes in the index)
stage
Stage a file (git add)
unstage
Unstage a file (git reset HEAD)