Expand description
AsyncGit is a library that provides non-blocking access to Git
operations, enabling GitUI to perform potentially slow Git operations
in the background while keeping the user interface responsive.
It also provides synchronous Git operations.
It wraps libraries like git2 and gix.
Re-exports§
pub use crate::remote_progress::RemoteProgress;pub use crate::remote_progress::RemoteProgressState;pub use crate::sync::diff::DiffLine;pub use crate::sync::diff::DiffLineType;pub use crate::sync::diff::FileDiff;pub use crate::sync::status::StatusItem;pub use crate::sync::status::StatusItemType;
Modules§
- asyncjob
- provides
AsyncJobtrait andAsyncSingleJobstruct - cached
- cached lookups: parts of the sync api that might take longer to compute but change seldom so doing them async might be overkill
- remote_
progress - remote_
tags - sync
- sync git api
Structs§
- Async
Blame - Async
Branches Job - Async
Commit Files - Async
Commit Filter Job - Async
Diff - Async
Fetch Job - Async
Log - Async
Pull - Async
Push - Async
Push Tags - Async
Status - Async
Tags - Async
Tree Files Job - Blame
Params - Commit
Files Params - Commit
Filter Result - Diff
Params - Fetch
Request - Progress
Percent - Push
Request - Push
Tags Request - Status
Params
Enums§
- Async
GitNotification - this type is used to communicate events back through the channel
- Diff
Type - Error
- Fetch
Status - Push
Type
Functions§
- hash
- helper function to calculate the hash of an arbitrary type that implements the
Hashtrait - message_
prettify - Clean up a message, removing extraneous whitespace, and ensure that the
message ends with a newline. If
comment_charisSome, also remove comment lines starting with that character. - register_
tracing_ logging