Skip to main content

needs_payload

Function needs_payload 

Source
pub fn needs_payload(kind: GitObjectKind) -> bool
Expand description

Which objects a repack must hold to make the reachability pass exact.

Only commits and trees carry pointers; blobs are leaves. The builder therefore needs tree payloads and nothing else, which is why ObjectFacts::trees exists and there is no blobs field.