Struct crates_index::Index [] [src]

pub struct Index { /* fields omitted */ }

Wrapper around managing the crates.io-index git repository

Methods

impl Index
[src]

Construct a new Index supplying a path where the index lives or should live

Determines if anything exists at the path specified from the constructor

Clones the index to the path specified from the constructor

Retrieve a single crate by name (case insensitive) from the index

Retrieve an iterator over all the crates in the index

Returns all the crate index file paths in the index