Function reg_index::yank

source · []
pub fn yank(
    index: impl AsRef<Path>,
    pkg_name: &str,
    version: &str
) -> Result<(), Error>
Expand description

Yank a version in the index.

This sets the yank field to true. This will fail if it is already set.