Module git

Module git 

Source
Expand description

Git Smart HTTP protocol support via git-http-backend CGI

This module provides functionality to serve Git repositories over HTTP using the Git Smart HTTP protocol. It works by invoking the system’s git http-backend CGI binary.

The implementation streams request bodies to the CGI process and streams CGI output back to the client, avoiding buffering large payloads in memory.

Structs§

GitBackend
Git HTTP backend wrapper
GitCgiCompletion
Handle to monitor CGI process completion and collect stderr.
GitCgiHeaders
Parsed CGI headers (status code + response headers, no body).
GitCgiStreamResponse
A streaming CGI response.

Constants§

DEFAULT_GIT_CGI_TIMEOUT
Default maximum time to wait for a git-http-backend process to complete.

Type Aliases§

BodyStream
Stream of response body bytes from a CGI process.