[][src]Function reg_index::list

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

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.