Crate guts_git

Crate guts_git 

Source
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.
PackBuilder
Builds a pack file from a set of objects.
PackParser
Parses a pack file and extracts objects.
PktLineReader
Reader for pkt-line format.
PktLineWriter
Writer for pkt-line format.
RefAdvertisement
A reference advertisement line.
WantHave
Want/Have negotiation for upload-pack.

Enums§

GitError
Errors that can occur during git protocol operations.
PktLine
A pkt-line packet.

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.