Module cache

Source
Expand description

The cache module.

This module provides caching functionalities to optimize performance and reduce redundant operations, particularly in the context of downloading and storing crate data. It may include structures like CrateCache to store downloaded crates and their metadata for quick retrieval.

Structs§

Crate
Represents a crate with its data and indexes for quick access to its contents.
CrateCache
A cache for storing and retrieving Crate instances to minimize redundant operations.
CrateFileDataDesc
Describes a crate file with its data type and range in the crate’s data buffer.
CrateTar
Represents a tarball of a crate, including version information and tar data.
FileContent
Contains the actual content of a file within a crate.

Enums§

FileDataType
Enumerates the possible data formats of a crate file.