Expand description
Git protocol implementation for Guts.
This crate implements the git pack file format and smart HTTP protocol, enabling standard git clients to push and pull from Guts repositories.
Structs§
- Command
- A ref update command from the client.
- Pack
Builder - Builds a pack file from a set of objects.
- Pack
Parser - Parses a pack file and extracts objects.
- PktLine
Reader - Reader for pkt-line format.
- PktLine
Writer - Writer for pkt-line format.
- RefAdvertisement
- A reference advertisement line.
- Want
Have - Want/Have negotiation for upload-pack.
Enums§
Functions§
- advertise_
refs - Advertises references to a client (for fetch/clone).
- receive_
pack - Handles git-receive-pack (push).
- upload_
pack - Handles git-upload-pack (fetch/clone).
Type Aliases§
- Result
- Result type for git protocol operations.