pub fn base_object(
capture: &InvocationCapture,
) -> Result<Option<ObjectId>, TransactionStop>Expand description
What: The recorded base as an object ID, or nothing for an unborn branch. Why: The candidate listing compares the private index with this commit.
In TS you’d write (pseudocode):
capture.base.kind === 'commit' ? capture.base.oid : undefined