Module operations

Module operations 

Source
Expand description

Git operations module

Provides local Git repository operations using the gix (Gitoxide) library.

Re-exports§

pub use add::AddOpts;
pub use add::add;
pub use branch::BranchOpts;
pub use branch::branch;
pub use branch::delete_branch;
pub use branch::list_branches;
pub use branch::rename_branch;
pub use checkout::CheckoutOpts;
pub use checkout::checkout;
pub use clone::CloneOpts;
pub use clone::clone_repo;
pub use commit::CommitOpts;
pub use commit::CommitResult;
pub use commit::Signature;
pub use commit::commit;
pub use diff::ChangeType;
pub use diff::DiffOpts;
pub use diff::DiffStats;
pub use diff::FileDiffStats;
pub use diff::diff;
pub use fetch::FetchOpts;
pub use fetch::fetch;
pub use introspection::DetailedCommitInfo;
pub use introspection::GitUrl;
pub use introspection::RepoPaths;
pub use introspection::get_commit_details;
pub use introspection::get_repo_paths;
pub use introspection::parse_git_url;
pub use log::LogOpts;
pub use log::log;
pub use merge::MergeOpts;
pub use merge::MergeOutcome;
pub use merge::merge;
pub use open::RepositoryInfo;
pub use open::discover_repo;
pub use open::init_bare_repo;
pub use open::init_repo;
pub use open::is_repository;
pub use open::open_repo;
pub use open::probe_repository;
pub use pull::PullOpts;
pub use pull::PullResult;
pub use pull::pull;
pub use push::PushOpts;
pub use push::PushResult;
pub use push::check_remote_branch_exists;
pub use push::check_remote_tag_exists;
pub use push::delete_remote_branch;
pub use push::delete_remote_tag;
pub use push::push;
pub use push::push_current_branch;
pub use push::push_tags;
pub use remote::RemoteAddOpts;
pub use remote::add_remote;
pub use remote::remove_remote;
pub use reset::ResetMode;
pub use reset::ResetOpts;
pub use reset::reset;
pub use reset::reset_hard;
pub use reset::reset_mixed;
pub use reset::reset_soft;
pub use stash::StashInfo;
pub use stash::StashOpts;
pub use stash::stash_pop;
pub use stash::stash_save;
pub use status::BranchInfo;
pub use status::RemoteInfo;
pub use status::current_branch;
pub use status::head_commit;
pub use status::is_clean;
pub use status::is_detached;
pub use status::list_remotes;
pub use status::remote_exists;
pub use tag::TagInfo;
pub use tag::TagOpts;
pub use tag::create_tag;
pub use tag::delete_tag;
pub use tag::list_tags;
pub use tag::tag_exists;
pub use worktree::WorktreeAddOpts;
pub use worktree::WorktreeInfo;
pub use worktree::WorktreeLockOpts;
pub use worktree::WorktreeRemoveOpts;
pub use worktree::list_worktrees;
pub use worktree::worktree_add;
pub use worktree::worktree_lock;
pub use worktree::worktree_prune;
pub use worktree::worktree_remove;
pub use worktree::worktree_unlock;

Modules§

add
Git add operation with comprehensive options.
branch
Git branch operation with comprehensive options.
checkout
Git checkout operation with comprehensive options.
clone
Git clone operation with comprehensive options.
commit
Git commit operation with comprehensive options.
diff
Git diff operation with comprehensive statistics.
fetch
Git fetch operation with comprehensive options.
introspection
Git repository introspection operations.
log
Git log operation with comprehensive options.
merge
Git merge operation with comprehensive options.
open
Git repository opening and discovery operations.
pull
Git pull operations (fetch + merge)
push
Git push operations
remote
Git remote operations
reset
Git reset operations
stash
Git stash operations
status
Git repository status operations
tag
Git tag operations
worktree
Git worktree operations with comprehensive options.