Expand description
Shared protocol/auth transport types.
Structs§
- Auth
Context - Auth
Token - Capabilities
- Set of protocol capabilities.
- Capability
Set - A set of capabilities that have been negotiated.
- Create
Hosted Grant - Create
Hosted Repository - Create
Namespace - Delete
Hosted Grant - Delete
Hosted Repository - Delete
Namespace - Delta
Data - Delta-encoded data.
- Error
- Harness
Identity - Have
Objects - Hosted
Grant Created - Hosted
Grant Deleted - Hosted
Grant Info - Hosted
Grant Updated - Hosted
Grants List - Hosted
Namespace Info - Hosted
Repository Info - List
Hosted Grants - List
Hosted Namespaces - List
Hosted Repositories - List
Refs - Namespace
Created - Namespace
Deleted - Namespace
Updated - Namespaces
List - Native
Pack Bundle - Object
Availability Plan - Object
Data - Object
Info - Object
Request - Pack
Chunk State - Planned
Object - Progress
Checkpoint - Pull
Complete - Push
Complete - RefEntry
- RefFilter
- RefUpdated
- Refs
List - Repositories
List - Repository
Created - Repository
Deleted - Repository
Updated - Request
Delta - Request a delta-encoded object.
- Send
Objects - Session
Diff Summary - Session
Report Envelope - State
Closure Options - Status
- Transcript
Attachment Ref - Update
Hosted Grant - Update
Hosted Repository - Update
Namespace - Update
Ref - Usage
Totals - Want
Objects - Worktree
Change Baseline
Enums§
- Auth
Method - Error
Code - Head
Info - Object
Id - Object
Type - Permission
- Protocol
Error - Error type for protocol operations.
- Status
Code - Token
Scope
Constants§
- CAPABILITY_
CHUNKED_ TRANSFER - CAPABILITY_
PACK_ TRANSFER - CAPABILITY_
PARTIAL_ FETCH - CAPABILITY_
RESUMABLE_ TRANSFER - DEFAULT_
PORT - Default port for Heddle protocol.
- MAX_
MESSAGE_ SIZE - Maximum message size (64 MB).
- MAX_
PULL_ DECODE_ MESSAGE_ SIZE - Inbound gRPC decode limit for the pull stream (tonic’s
max_decoding_message_size). - MAX_
RECEIVED_ REDACTIONS_ BLOB_ SIZE - Maximum redaction sidecar blob accepted from the pull stream, per blob.
- MAX_
RECEIVED_ STATE_ VISIBILITY_ BLOB_ SIZE - Maximum state-visibility sidecar blob accepted from the pull stream, per state.
- PROTOCOL_
VERSION - Protocol version.
Functions§
- build_
native_ pack - check_
received_ transfer_ blob_ size - Reject a received per-object transfer sidecar blob whose length exceeds
max_bytes, before it is handed to the repository accept path. - chunk_
bounds - chunk_
count - chunk_
offset - enumerate_
state_ closure - enumerate_
state_ closure_ plan - enumerate_
state_ closure_ plan_ with_ options - enumerate_
state_ closure_ with_ options - has_
object - install_
received_ pack - is_
ancestor - is_
native_ packable_ object_ type - load_
object_ data - load_
requested_ object - native_
pack_ excluded_ object_ types - next_
pack_ chunk - plan_
object_ availability - receive_
pack_ chunk - scope_
contains - Whether
candidateis the scope namespace itself or a descendant of it, compared whole-segment by whole-segment. - store_
received_ object