Module utils

Module utils 

Source
Expand description

sync git api (various methods)

Structs§

Head

Functions§

get_head
get_head_refname
get_head_repo
get_head_tuple
read_file
repo_dir
path to .git folder
repo_open_error
repo_work_dir
stage_add_all
like stage_add_file but uses a pattern to match/glob multiple files/folders
stage_add_file
add a file diff from workingdir to stage (will not add removed files see stage_addremoved)
stage_addremoved
stage a removed file
undo_last_commit
Undo last commit in repo