Struct crates_index::Index [] [src]

pub struct Index { /* fields omitted */ }

Wrapper around managing the crates.io-index git repository

Methods

impl Index
[src]

[src]

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

[src]

Determines if a crates.io repository exists at self.path

[src]

Downloads the index to the path specified from the constructor

[src]

Assumes the index already exists at self.path, and updates it

[src]

Downloads the index to the path specified from the constructor

[src]

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

[src]

Retrieve an iterator over all the crates in the index

[src]

Returns all the crate index file paths in the index

[src]

Get the index directory.

Trait Implementations

impl Debug for Index
[src]

[src]

Formats the value using the given formatter.

impl Clone for Index
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for Index
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.