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.
yank
This will fail if it is already set to the given value.