Expand description
kodegen_git - A Git facade over the gix (Gitoxide) library
This library provides an async-first Git service layer with comprehensive operation support using the modern gix crate. Each Git operation is implemented in its own module with builder patterns for ergonomic usage.
Re-exports§
pub use runtime::AsyncStream;pub use runtime::AsyncTask;pub use runtime::EmitterBuilder;pub use operations::AddOpts;pub use operations::BranchInfo;pub use operations::BranchOpts;pub use operations::ChangeType;pub use operations::CheckoutOpts;pub use operations::CloneOpts;pub use operations::CommitOpts;pub use operations::CommitResult;pub use operations::DetailedCommitInfo;pub use operations::DiffOpts;pub use operations::DiffStats;pub use operations::FetchOpts;pub use operations::FileDiffStats;pub use operations::GitUrl;pub use operations::HistoryCommit;pub use operations::HistoryOpts;pub use operations::HistoryResult;pub use operations::LogOpts;pub use operations::MergeOpts;pub use operations::MergeOutcome;pub use operations::PullOpts;pub use operations::PullResult;pub use operations::PushOpts;pub use operations::PushResult;pub use operations::RemoteAddOpts;pub use operations::RemoteInfo;pub use operations::RepoPaths;pub use operations::RepositoryInfo;pub use operations::ResetMode;pub use operations::ResetOpts;pub use operations::Signature;pub use operations::TagInfo;pub use operations::TagOpts;pub use operations::WorktreeAddOpts;pub use operations::WorktreeInfo;pub use operations::WorktreeLockOpts;pub use operations::WorktreeRemoveOpts;pub use operations::add;pub use operations::add;pub use operations::add_remote;pub use operations::branch;pub use operations::branch;pub use operations::check_remote_branch_exists;pub use operations::check_remote_tag_exists;pub use operations::checkout;pub use operations::checkout;pub use operations::clone_repo;pub use operations::commit;pub use operations::commit;pub use operations::create_tag;pub use operations::current_branch;pub use operations::delete_branch;pub use operations::delete_remote_branch;pub use operations::delete_remote_tag;pub use operations::delete_tag;pub use operations::diff;pub use operations::diff;pub use operations::discover_repo;pub use operations::fetch;pub use operations::fetch;pub use operations::get_commit_details;pub use operations::get_repo_paths;pub use operations::head_commit;pub use operations::history;pub use operations::history;pub use operations::init_bare_repo;pub use operations::init_repo;pub use operations::is_clean;pub use operations::is_detached;pub use operations::is_repository;pub use operations::list_branches;pub use operations::list_remotes;pub use operations::list_worktrees;pub use operations::log;pub use operations::log;pub use operations::merge;pub use operations::merge;pub use operations::open_repo;pub use operations::parse_git_url;pub use operations::probe_repository;pub use operations::pull;pub use operations::pull;pub use operations::push;pub use operations::push;pub use operations::push_current_branch;pub use operations::remote_exists;pub use operations::remove_remote;pub use operations::rename_branch;pub use operations::reset;pub use operations::reset;pub use operations::reset_hard;pub use operations::reset_mixed;pub use operations::reset_soft;pub use operations::stash_pop;pub use operations::stash_save;pub use operations::StashInfo;pub use operations::StashOpts;pub use operations::tag_exists;pub use operations::worktree_add;pub use operations::worktree_lock;pub use operations::worktree_prune;pub use operations::worktree_remove;pub use operations::worktree_unlock;pub use tools::GitAddTool;pub use tools::GitBranchCreateTool;pub use tools::GitBranchDeleteTool;pub use tools::GitBranchListTool;pub use tools::GitBranchRenameTool;pub use tools::GitCheckoutTool;pub use tools::GitCloneTool;pub use tools::GitCommitTool;pub use tools::GitDiffTool;pub use tools::GitDiscoverTool;pub use tools::GitFetchTool;pub use tools::GitHistoryTool;pub use tools::GitInitTool;pub use tools::GitLogTool;pub use tools::GitMergeTool;pub use tools::GitOpenTool;pub use tools::GitPullTool;pub use tools::GitPushTool;pub use tools::GitRemoteAddTool;pub use tools::GitRemoteListTool;pub use tools::GitRemoteRemoveTool;pub use tools::GitResetTool;pub use tools::GitStashTool;pub use tools::GitStatusTool;pub use tools::GitTagTool;pub use tools::GitWorktreeAddTool;pub use tools::GitWorktreeListTool;pub use tools::GitWorktreeLockTool;pub use tools::GitWorktreePruneTool;pub use tools::GitWorktreeRemoveTool;pub use tools::GitWorktreeUnlockTool;
Modules§
- git
- Backward compatibility module providing nested namespace for git operations.
- operations
- Git operations module
- runtime
- Runtime module
- tools
- MCP Tools for Git operations
Structs§
- Commit
Info - Lightweight commit metadata for streaming logs.
- Repo
Handle - Strong-typed repository wrapper with cheap cloning.
Enums§
- GitError
- Error types for
GitGixoperations
Functions§
- start_
server - Start the HTTP server programmatically for embedded mode
- start_
server_ with_ listener - Start git HTTP server using pre-bound listener (TOCTOU-safe)