Skip to main content

is_already_published

Function is_already_published 

Source
pub fn is_already_published(stderr: &str) -> bool
Expand description

Check whether cargo publish stderr indicates the package version is already present on the registry (a success case for idempotent re-runs).

§Arguments

  • &str: cargo publish stderr output

§Returns

  • bool: True when the output means “already published”