Module tame_index::index
source · Expand description
Provides functionality for interacting with both local and remote registry indices
Re-exports§
pub use cache::IndexCache;pub use git::GitIndex;pub use local::LocalRegistry;localpub use location::IndexLocation;pub use location::IndexPath;pub use location::IndexUrl;pub use sparse::SparseIndex;pub use crate::utils::flock::FileLock;
Modules§
- Provides functionality for reading and writing cargo compatible .cache entries that can be wrapped by another index that has logic for fetching entries that aren’t in the cache
- local
localContains code for reading and writing local registries - Helpers for initializing the remote and local disk location of an index
Structs§
- Async
Remote Sparse Index sparseAllows async access to a remote HTTP sparse registry index - Global configuration of an index, reflecting the contents of config.json.
- Remote
GitIndex __gitUses a “bare” git index that fetches files directly from the repo instead of using a local checkout, the same as cargo itself. - Remote
Sparse Index sparseAllows blocking access to a remote HTTP sparse registry index
Enums§
- Combo
Index __gitandsparseA wrapper around either aRemoteGitIndexorRemoteSparseIndex - Provides simpler access to the cache for an index, regardless of the registry kind