Structs§
- Dumb
Http Pack Record - Dumb
Http RefRecord - Fetch
Head Record - Fetch
RefUpdate - PktLine
- Protocol
Error Line - Protocol
V2Command Options - Protocol
V2Command Request - Protocol
V2Fetch Features - Protocol
V2Fetch Packfile Uri - Protocol
V2Fetch Request - Protocol
V2Fetch Sideband AllResponse - Protocol
V2Fetch Wanted Ref - Protocol
V2Ls Refs Features - Protocol
V2Ls Refs Ref - Protocol
V2Ls Refs Request - Protocol
V2Object Info Record - Protocol
V2Object Info Request - Protocol
V2Object Info Response - Push
Source Ref - Receive
Pack Command - Receive
Pack Command Status V2Options - Receive
Pack Features - Receive
Pack Push Request - Receive
Pack Push Request Options - Receive
Pack Report Status - Receive
Pack Report Status V2 - Receive
Pack Request - RefAdvertisement
- RefAdvertisement
Set - RefSpec
- Side
Band Demux - Side
Band Packet - Transport
Handshake - Upload
Archive Request - Upload
Pack Features - Upload
Pack Negotiation Request - Upload
Pack Packfile Response - Upload
Pack RawPackfile Response - Upload
Pack Request
Enums§
- GitService
- PktLine
Frame - Protocol
V2Command - Protocol
V2Fetch Acknowledgment - Protocol
V2Fetch Response Section - Protocol
V2Fetch Shallow Info - Protocol
V2Ls Refs Record - Protocol
V2Request - Protocol
V2Session Request - Protocol
Version - Receive
Pack Command Status - Receive
Pack Command Status V2 - Receive
Pack Unpack Status - Side
Band Channel - Upload
Archive Response - Upload
Pack AckStatus - Upload
Pack Acknowledgment
Constants§
Functions§
- apply_
receive_ pack_ push_ request - build_
receive_ pack_ push_ request - build_
upload_ pack_ raw_ packfile_ response - classify_
protocol_ v2_ command_ request - classify_
protocol_ v2_ request - demux_
protocol_ v2_ fetch_ packfile - demux_
sideband_ packets - demux_
sideband_ stream - demux_
upload_ archive_ response - demux_
upload_ pack_ packfile_ response - dumb_
http_ alternates_ path - dumb_
http_ info_ refs_ path - dumb_
http_ loose_ object_ path - dumb_
http_ pack_ file_ path - dumb_
http_ pack_ index_ path - dumb_
http_ packs_ path - encode_
capabilities - encode_
dumb_ http_ alternates - encode_
dumb_ http_ info_ refs - encode_
dumb_ http_ packs - encode_
error_ line - encode_
fetch_ head - encode_
protocol_ v2_ advertisement - encode_
protocol_ v2_ command_ options - encode_
protocol_ v2_ command_ request - encode_
protocol_ v2_ fetch_ capability - encode_
protocol_ v2_ fetch_ response - encode_
protocol_ v2_ fetch_ sideband_ all_ response - encode_
protocol_ v2_ ls_ refs_ capability - encode_
protocol_ v2_ ls_ refs_ response - encode_
protocol_ v2_ object_ info_ response - encode_
protocol_ v2_ request - encode_
receive_ pack_ features - encode_
receive_ pack_ push_ options - encode_
receive_ pack_ push_ request - encode_
receive_ pack_ report_ status - encode_
receive_ pack_ report_ status_ v2 - encode_
receive_ pack_ request - encode_
ref_ advertisement - encode_
ref_ advertisement_ set - encode_
ref_ advertisements - encode_
refspec - encode_
sideband_ packet - encode_
sideband_ packets - encode_
sideband_ stream - encode_
upload_ archive_ request - encode_
upload_ archive_ response - encode_
upload_ pack_ acknowledgment - encode_
upload_ pack_ features - encode_
upload_ pack_ negotiation_ request - encode_
upload_ pack_ packfile_ response - encode_
upload_ pack_ raw_ packfile_ response - encode_
upload_ pack_ request - encode_
upload_ pack_ shallow_ update - exchange_
protocol_ v2_ fetch - exchange_
protocol_ v2_ ls_ refs - exchange_
protocol_ v2_ object_ info - fetch_
head_ ref_ description - fetch_
head_ remote_ description - fetch_
ref_ updates_ to_ fetch_ head - parse_
and_ demux_ sideband_ packets - parse_
capabilities - parse_
dumb_ http_ alternates - parse_
dumb_ http_ info_ refs - parse_
dumb_ http_ packs - parse_
error_ frame - parse_
error_ line - parse_
fetch_ head - parse_
git_ service - parse_
pkt_ line_ stream - parse_
protocol_ v2_ advertisement - parse_
protocol_ v2_ command_ options - parse_
protocol_ v2_ command_ request - parse_
protocol_ v2_ fetch_ features - parse_
protocol_ v2_ fetch_ response - parse_
protocol_ v2_ fetch_ sideband_ all_ response - parse_
protocol_ v2_ ls_ refs_ features - parse_
protocol_ v2_ ls_ refs_ response - parse_
protocol_ v2_ ls_ refs_ response_ as_ ref_ advertisement_ set - Parse a protocol v2
ls-refsresponse and bridge it into the sharedRefAdvertisementSettype. Convenience wrapper combiningparse_protocol_v2_ls_refs_responseandprotocol_v2_ls_refs_records_to_ref_advertisement_set. - parse_
protocol_ v2_ object_ info_ response - parse_
protocol_ v2_ request - parse_
receive_ pack_ features - parse_
receive_ pack_ push_ options - parse_
receive_ pack_ push_ request - parse_
receive_ pack_ report_ status - parse_
receive_ pack_ report_ status_ v2 - parse_
receive_ pack_ request - parse_
ref_ advertisement - parse_
ref_ advertisement_ set - parse_
ref_ advertisements - parse_
refspec - parse_
sideband_ packet - parse_
sideband_ packets - parse_
sideband_ stream - parse_
smart_ http_ advertisement_ content_ type - parse_
smart_ http_ rpc_ request_ content_ type - parse_
smart_ http_ rpc_ result_ content_ type - parse_
upload_ archive_ request - parse_
upload_ archive_ response - parse_
upload_ pack_ acknowledgment - parse_
upload_ pack_ features - parse_
upload_ pack_ negotiation_ request - parse_
upload_ pack_ packfile_ response - parse_
upload_ pack_ raw_ packfile_ response - parse_
upload_ pack_ request - parse_
upload_ pack_ shallow_ info_ and_ raw_ packfile_ response - Parse a raw upload-pack response that begins with a shallow-info section, i.e. the response to a deepen request.
- parse_
upload_ pack_ shallow_ info_ section - Parse the smart-HTTP/SSH v0 shallow-info section that precedes the packfile
when the upload-pack request carried
shallow/deepen/deepen-since/deepen-notarguments. - parse_
upload_ pack_ shallow_ update - plan_
fetch_ ref_ updates - plan_
push_ commands - protocol_
v2_ ls_ refs_ records_ to_ ref_ advertisement_ set - Bridge a parsed protocol v2
ls-refsresponse into the sharedRefAdvertisementSet/RefAdvertisementtypes used by the v0/v1 codecs, so callers can drive v2 clone/fetch through the same ref-advertisement machinery. - protocol_
v2_ object_ format - read_
and_ demux_ sideband_ stream - read_
dumb_ http_ alternates - read_
dumb_ http_ info_ refs - read_
dumb_ http_ packs - read_
error_ line - read_
fetch_ head - read_
pkt_ line_ frame - read_
pkt_ line_ frames - read_
pkt_ line_ frames_ until_ flush - read_
pkt_ line_ frames_ until_ response_ end - read_
protocol_ v2_ advertisement - read_
protocol_ v2_ command_ request - read_
protocol_ v2_ fetch_ request - read_
protocol_ v2_ fetch_ response - read_
protocol_ v2_ fetch_ response_ until_ response_ end - read_
protocol_ v2_ fetch_ sideband_ all_ response - read_
protocol_ v2_ fetch_ sideband_ all_ response_ until_ response_ end - read_
protocol_ v2_ ls_ refs_ request - read_
protocol_ v2_ ls_ refs_ response - read_
protocol_ v2_ ls_ refs_ response_ as_ ref_ advertisement_ set - Read a protocol v2
ls-refsresponse fromreaderand bridge it into the sharedRefAdvertisementSettype. - read_
protocol_ v2_ ls_ refs_ response_ until_ response_ end - read_
protocol_ v2_ object_ info_ request - read_
protocol_ v2_ object_ info_ response - read_
protocol_ v2_ request - read_
protocol_ v2_ session_ request - read_
receive_ pack_ push_ options - read_
receive_ pack_ push_ request - read_
receive_ pack_ report_ status - read_
receive_ pack_ report_ status_ v2 - read_
receive_ pack_ request - read_
ref_ advertisement_ set - read_
ref_ advertisements - read_
sideband_ stream - read_
upload_ archive_ request - read_
upload_ archive_ response - read_
upload_ pack_ acknowledgment - read_
upload_ pack_ negotiation_ request - read_
upload_ pack_ packfile_ response - read_
upload_ pack_ raw_ packfile_ response - read_
upload_ pack_ request - read_
upload_ pack_ shallow_ info_ and_ raw_ packfile_ response - Read a raw upload-pack response that begins with a shallow-info section from
reader, returning theshallow/unshallowentries and the parsed acknowledgments + raw packfile. - read_
upload_ pack_ shallow_ update - refname_
matches - Whether
abbrev(a possibly-abbreviated ref likethreeorrefs/heads/main) matches the full reffullunder git’sref_rev_parse_rulesexpansion, the wayrefname_match/branch_merge_matches(remote.c) compare a configuredbranch.<name>.mergevalue against an advertised ref name. - refspec_
map_ source - refspec_
matches_ source - set_
packet_ trace_ identity - Set the program identity used in subsequent packet traces (the CLI sets this
from the running subcommand). Mirrors
packet_trace_identity(prog). - smart_
http_ advertisement_ content_ type - smart_
http_ info_ refs_ path - smart_
http_ rpc_ path - smart_
http_ rpc_ request_ content_ type - smart_
http_ rpc_ result_ content_ type - trace_
packet_ read_ payload - trace_
packet_ write_ payload - validate_
protocol_ v2_ command_ request_ capabilities - validate_
protocol_ v2_ fetch_ command_ request - validate_
protocol_ v2_ fetch_ request_ features - validate_
protocol_ v2_ ls_ refs_ command_ request - validate_
protocol_ v2_ ls_ refs_ request_ features - validate_
protocol_ v2_ object_ info_ command_ request - validate_
receive_ pack_ push_ request_ features - validate_
upload_ pack_ request_ features - write_
dumb_ http_ alternates - write_
dumb_ http_ info_ refs - write_
dumb_ http_ packs - write_
error_ line - write_
fetch_ head - write_
pkt_ line_ frame - write_
pkt_ line_ frames - write_
pkt_ line_ payload - write_
protocol_ v2_ advertisement - write_
protocol_ v2_ command_ request - write_
protocol_ v2_ fetch_ request - write_
protocol_ v2_ fetch_ response - write_
protocol_ v2_ fetch_ response_ with_ response_ end - write_
protocol_ v2_ fetch_ sideband_ all_ response - write_
protocol_ v2_ fetch_ sideband_ all_ response_ with_ response_ end - write_
protocol_ v2_ ls_ refs_ request - write_
protocol_ v2_ ls_ refs_ response - write_
protocol_ v2_ ls_ refs_ response_ with_ response_ end - write_
protocol_ v2_ object_ info_ request - write_
protocol_ v2_ object_ info_ response - write_
protocol_ v2_ request - write_
receive_ pack_ push_ options - write_
receive_ pack_ push_ request - write_
receive_ pack_ report_ status - write_
receive_ pack_ report_ status_ v2 - write_
receive_ pack_ request - write_
ref_ advertisement_ set - write_
ref_ advertisements - write_
sideband_ packet - write_
sideband_ stream - write_
upload_ archive_ request - write_
upload_ archive_ response - write_
upload_ pack_ acknowledgment - write_
upload_ pack_ negotiation_ request - write_
upload_ pack_ packfile_ response - write_
upload_ pack_ raw_ packfile_ response - write_
upload_ pack_ request - write_
upload_ pack_ shallow_ update