grit_lib/lib.rs
1//! Gust library — core Git-compatible engine.
2//!
3//! # Architecture
4//!
5//! All Git-compatible logic lives here; the `grit` binary is a thin CLI shim
6//! that parses arguments and delegates to types exposed from this crate.
7//!
8//! ## Modules
9//!
10//! - [`error`] — shared error types using `thiserror`
11//! - [`objects`] — object ID, object kinds, and in-memory representations
12//! - [`odb`] — loose object store (read/write zlib-compressed objects)
13//! - [`repo`] — repository discovery and handle
14//! - [`index`] — Git index (staging area) read/write
15//! - [`ignore`] — ignore/exclude pattern matching for check-ignore
16//! - [`refs`] — reference storage (files backend)
17
18pub mod check_ref_format;
19pub mod config;
20pub mod diff;
21pub mod error;
22pub mod fmt_merge_msg;
23pub mod hooks;
24pub mod ignore;
25pub mod index;
26pub mod ls_remote;
27pub mod merge_base;
28pub mod merge_file;
29pub mod name_rev;
30pub mod objects;
31pub mod odb;
32pub mod pack;
33pub mod patch_ids;
34pub mod prune_packed;
35pub mod reflog;
36pub mod refs;
37pub mod repo;
38pub mod rev_list;
39pub mod rev_parse;
40pub mod state;
41pub mod stripspace;
42pub mod unpack_objects;
43pub mod write_tree;