Skip to main content

Module ops

Module ops 

Source

Functions§

commit_tree_id
Get the tree ObjectId from a commit.
create_commit
Create a commit on ref_name, optionally with a parent.
delete_ref
Delete a ref, requiring it currently points to expected_tip.
find_ref_tip
Find the tip commit of a ref, returning None if the ref doesn’t exist.
find_repo_root
Find the git repository root by walking up from from looking for .git.
gix_err
Wrap any gix-compatible error into GitStorageError::Gix.
make_signature
Build the default OpenSession committer/author signature.
open_repo
Open a git repository at repo_path.