Skip to main content

Module validation

Module validation 

Source
Expand description

Object/link validation and bounded reachable-object selection for upload-pack. ValidatedRepository shares its authenticated index with fetch history traversal. Opt-in validation of the repository graph contract, without allocation.

Structs§

RevisionLimits
Additional limits for an explicitly enabled revision-history request.
RevisionOptions
Revision history, separate from absolute/relative depth. Zero is an active unrestricted revision walk. HTTP resolves exclusion refs to the iterator passed to select_revision_fetch; non-commit endpoints have no ancestry effect.
RevisionState
One caller-owned byte per repository object. Existing metadata/storage layouts remain unchanged. Recreate this descriptor for every request/retry; arrays are reset by selection, and failures invalidate all results.
SelectionOptions
Traversal budget and annotated-tag policy for a selected fetch pack.
ValidatedRepository
Validate and index a stable repository, including streaming-only providers.
ValidationMetadata
Cached identity and size of a validated object, in enumeration order.

Enums§

ShallowChange