Function reg_index::list

source ·
pub fn list(
    index: impl AsRef<Path>,
    pkg_name: &str,
    version_req: Option<&str>
) -> Result<Vec<IndexPackage>, Error>
Expand description

List entries in the index.

This will list all entries for a particular package in the index. If the version is not specified, all versions are returned. The version supports semver requirement syntax.