Crate clgit

Source

Re-exports§

pub use commit::Commit;
pub use generic::HashParseError;
pub use tree::Tree;

Modules§

blob
Hash
commit
Hash, Commit
generic
Hash, HashParseError
tree
Hash, Tree
unknown
Hash

Structs§

Branch
A named reference to a commit (e.g. “master” => “074d881e29cc3bff82da905adcde2aea7cb5b165”)
BranchRef
A named reference to a commit (e.g. “master” => “074d881e29cc3bff82da905adcde2aea7cb5b165”) w/o deep copies
Name
A git file or tree name (e.g. “.gitignore”) - typically UTF8, but not guaranteed.
Repository
A git repository (a reference to a local path containing a .git directory, or a bare some_repository.git directory)
RepositoryCache
A git Repository + in-memory caches for Commits, Trees, and possibly Blobs

Enums§

FileType
The type of some git content (“blob”, “commit”, or “tree”)

Traits§

TryIntoSharedRepositoryCache
Try to convert into an Arc<RepositoryCache> on pain of std::io::Error. Implemented for:
&Path, (&)PathBuf, Repository, RepositoryCache, (&)Arc<RepositoryCache>, …