Function cargo_update::ops::get_index_path
[−]
[src]
pub fn get_index_path(cargo_dir: &Path) -> PathBuf
Get the location of the latest registry index in the specified cargo directory.
Examples
let index = get_index_path(&cargo_dir); // Use find_package_data() to look for packages