Struct crates_index::BareIndex [−][src]
pub struct BareIndex { pub url: String, // some fields omitted }
Expand description
Access to a “bare” git index that fetches files directly from the repo instead of local checkout
Uses Cargo’s cache
Fields
url: String
Implementations
Creates a bare index from a provided URL, opening the same location on disk that cargo uses for that registry index.
Creates a bare index at the provided path with the specified repository URL.
Creates an index for the default crates.io registry, using the same disk location as cargo itself.
Opens the local index, which acts as a kind of lock for source control operations
Auto Trait Implementations
impl RefUnwindSafe for BareIndex
impl UnwindSafe for BareIndex