Expand description
Git smart protocol handlers for HTTP transport.
Provides a clean Rust API for running git upload-pack and receive-pack
operations. Currently implemented by spawning grit as a subprocess
with piped I/O — the same model as git-http-backend.
Future work: replace subprocess calls with in-process protocol handling once the core protocol logic is libified with generic Read/Write streams.
Modules§
- receive_
pack - Receive-pack protocol handler (server side of push).
- upload_
pack - Upload-pack protocol handler (server side of fetch/clone).
Functions§
- grit_
executable - Find the grit executable path.
- validate_
repo_ path - Validate that a path looks like a git repository (bare or non-bare).