Skip to main content

Crate sley_protocol

Crate sley_protocol 

Source

Structs§

DumbHttpPackRecord
DumbHttpRefRecord
FetchHeadRecord
FetchRefUpdate
PktLine
ProtocolErrorLine
ProtocolV2CommandOptions
ProtocolV2CommandRequest
ProtocolV2FetchFeatures
ProtocolV2FetchPackfileUri
ProtocolV2FetchRequest
ProtocolV2FetchSidebandAllResponse
ProtocolV2FetchWantedRef
ProtocolV2LsRefsFeatures
ProtocolV2LsRefsRef
ProtocolV2LsRefsRequest
ProtocolV2ObjectInfoRecord
ProtocolV2ObjectInfoRequest
ProtocolV2ObjectInfoResponse
PushSourceRef
ReceivePackCommand
ReceivePackCommandStatusV2Options
ReceivePackFeatures
ReceivePackPushRequest
ReceivePackPushRequestOptions
ReceivePackReportStatus
ReceivePackReportStatusV2
ReceivePackRequest
RefAdvertisement
RefAdvertisementSet
RefSpec
SideBandDemux
SideBandPacket
TransportHandshake
UploadArchiveRequest
UploadPackFeatures
UploadPackNegotiationRequest
UploadPackPackfileResponse
UploadPackRawPackfileResponse
UploadPackRequest

Enums§

GitService
PktLineFrame
ProtocolV2Command
ProtocolV2FetchAcknowledgment
ProtocolV2FetchResponseSection
ProtocolV2FetchShallowInfo
ProtocolV2LsRefsRecord
ProtocolV2Request
ProtocolV2SessionRequest
ProtocolVersion
ReceivePackCommandStatus
ReceivePackCommandStatusV2
ReceivePackUnpackStatus
SideBandChannel
UploadArchiveResponse
UploadPackAckStatus
UploadPackAcknowledgment

Constants§

PKT_LINE_MAX_LEN
PKT_LINE_MAX_PAYLOAD_LEN

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-refs response and bridge it into the shared RefAdvertisementSet type. Convenience wrapper combining parse_protocol_v2_ls_refs_response and protocol_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-not arguments.
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-refs response into the shared RefAdvertisementSet/RefAdvertisement types 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-refs response from reader and bridge it into the shared RefAdvertisementSet type.
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 the shallow/unshallow entries and the parsed acknowledgments + raw packfile.
read_upload_pack_shallow_update
refspec_map_source
refspec_matches_source
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
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