Crate git_wrapper[−][src]
Functions
clone | Clone a remote |
config_set | Set a config value via git-config(1) |
git_cmd | Helper function executing git without a working directory and returning std::process::Output. |
git_cmd_out | Helper function executing git in the specified working directory and returning std::process::Output. |
is_ancestor | |
is_sparse | Return |
is_working_dir_clean | Return |
ls_remote | Wrapper around git-ls-remote(1) |
remote_ref_to_id | Resolve hash id of the given branch/tag at the remote. |
resolve_head | Figure out the default branch for given remote. |
rev_list | |
short_ref | Convert a long hash id to a short one. |
sparse_checkout_add | Update the sparse-checkout file to include additional patterns. |
subtree_add | Create the |
subtree_files | Return all |
tags_from_remote | Returns all tags from a remote |
top_level | Return the path for the top level repository directory in current working dir. |