Struct rustup_available_packages::cache::FsCache [−][src]
pub struct FsCache { /* fields omitted */ }A cache that stores manifests on a file system.
Methods
impl FsCache[src]
impl FsCachepub fn new(
path: impl AsRef<Path>
) -> Result<Self, Error>[src]
pub fn new(
path: impl AsRef<Path>
) -> Result<Self, Error>Initializes a cache with a given path.
The path is created if it doesn't exist.