Expand description
A crate with utility types for use by other crates that implement specifics.
Unless specified differently, all operations need an index file (e.g. .git/index) as driver.
§Feature Flags
sha1— Enable support for the SHA-1 hash by enabling the respective feature in thegix-hashcrate.sha256— Enable support for the SHA-256 hash by enabling the respective feature in thegix-hashcrate.serde— Data structures implementserde::Serializeandserde::Deserialize.attributes(enabled by default) — Instantiate stacks that can access.gitattributesinformation.add— Add linked worktrees by preparing their administrative files.remove— Remove linked worktrees recursively, with parallel traversal and deletion.
Re-exports§
pub use gix_attributes as attributes;attributespub use gix_glob as glob;pub use gix_ignore as ignore;pub use gix_index as index;pub use gix_object as object;pub use gix_validate as validate;attributes
Modules§
- sparse
- Read sparse-checkout patterns and apply them to a full index. Sparse-checkout pattern loading and selection for initial checkout with a full index.
- stack
Structs§
- Stack
- A cache for efficiently executing operations on directories and files which are encountered in sorted order. That way, these operations can be re-used for subsequent invocations in the same directory.
Functions§
- set_
lock - Set or clear the lock of a linked worktree in its existing private
git_dir.