Skip to main content

draft_canonical_id

Function draft_canonical_id 

Source
pub fn draft_canonical_id(pkg: &DraftPackage) -> String
Expand description

Return the canonical display ID for a draft — the string that resolve_draft will accept back as input.

Prefers <goal_shortref>/<draft_seq> (shortest and most human-friendly), then falls back to display_id, then to the first 8 chars of the UUID.