Skip to main content

Module git_import_graph

Module git_import_graph 

Source
Expand description

Git identities and ref classification shared by local and hosted import.

Structs§

ClassifiedImportRefs
Result of classifying a complete, raw-name-sorted frozen ref set. Dispositions have the same order as the input; no advertised ref is dropped.
ImportRefIdentity
A Git ref with its direct target. peeled_commit is present only when this ref resolves to a commit.
SkippedImportRef

Enums§

GitObjectFormat
GitObjectId
Git object identity retains the hash algorithm; SHA-256 never truncates into a SHA-1 address. This names commits and raw annotated tag objects.
GitRefObjectType
The raw Git ref target, including symbolic refs and object kinds that cannot become native refs. A dangling direct target has Unknown kind.
GitRefTarget
ImportRefDisposition
ImportRefFailure
ImportSkipReason
Reasons for refs omitted from native Threads and markers.

Constants§

MAX_IMPORT_REFS

Functions§

classify_frozen_import_refs
classify_git_import_ref
Classify one raw Git ref before producing native Threads or markers.