Skip to main content

publish

Function publish 

Source
pub fn publish(
    project: &Path,
    dry_run: bool,
    expect_checksum: Option<&str>,
) -> Result<Published, FetchError>
Expand description

Publish the package at project (which must already pass bynk check). With expect_checksum, refuse — before anything is uploaded — unless the tree packs to exactly that checksum (#2472, decision C): what an editor showed in a plan is what gets published, or nothing is.