Function reg_index::unyank

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

Unyank a version in the index.

This sets the yank field to false. This will fail if it is not yanked.