These pages walk through every stable domain in grit-lib: repository discovery, typed handles on Repository, and network or maintenance workflows. Each guide includes a compiled example from grit-examples that tests against the system git binary.
| Page | Topic |
|---|---|
| Repository | Discover, open, init, typed handles overview |
| Embedding | Environment, sinks, subprocess injection, concurrency |
| Config | Repository::config() / Config get/set |
| Objects | Objects read/write |
| Refs | References, reflog, backends |
| Storage backends | Custom object and ref stores, conformance suites |
| Index | IndexFile, stage, write tree |
| Worktree | Linked worktrees, ignore, attributes |
| Diff | Diff tree/index/worktree |
| Revwalk | RevWalk, merge base |
| Merge | Three-way tree merge, porcelain merge helpers |
| Network | Remotes |
| Stash | RepositoryStash |
| Notes | RepositoryNotes |
| Bundle | Bundles |
| Maintenance | Fsck object rules, hooks |
| API layout | Flat → canonical module map |
| API map | Generated module and type index |
For exhaustive API detail see grit-lib on docs.rs.