Expand description
Git smart protocol handlers for HTTP transport.
Runs upload-pack and receive-pack in-process via grit_lib::remote::serve, with
no subprocess or external grit binary.
Modules§
- receive_
pack - Receive-pack protocol handler (server side of push).
- upload_
pack - Upload-pack protocol handler (server side of fetch/clone).
Structs§
- Repository
Options - Options passed to repository open/discover with an explicit
Environment.
Enums§
- Error
- Errors from smart-protocol handlers.
Functions§
- protocol_
version_ from_ header - Map an explicit smart-HTTP protocol version header to a wire version.
- repository_
options_ from_ process - Build
RepositoryOptionsfrom the current process environment. - validate_
repo_ path - Validate that a path looks like a git repository (bare or non-bare).
Type Aliases§
- Result
- Result alias for protocol handlers.