[][src]Function reg_index::set_yank

pub fn set_yank(
    index: impl AsRef<Path>,
    pkg_name: &str,
    version: &str,
    yank: bool
) -> Result<(), Error>

Set the yank value of a package in the index.

This will fail if it is already set to the given value.