Expand description
asyncgit
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§
- provides
AsyncJob
trait andAsyncSingleJob
struct - cached lookups: parts of the sync api that might take longer to compute but change seldom so doing them async might be overkill
- sync git api
Structs§
Enums§
- this type is used to communicate events back through the channel
Functions§
- helper function to calculate the hash of an arbitrary type that implements the
Hash
trait - Clean up a message, removing extraneous whitespace, and ensure that the message ends with a newline. If
comment_char
isSome
, also remove comment lines starting with that character.