Module file_cache

Source
Expand description

A cache for files.

Structsยง

FileCache ๐Ÿ”’
A file cache manages files on local store and evict files based on size.
IndexKey ๐Ÿ”’
Key of file cache index.
IndexValue ๐Ÿ”’
An entity that describes the file in the file cache.

Enumsยง

FileType
Type of the file.

Constantsยง

FILE_DIR ๐Ÿ”’
Subdirectory of cached files for write.

Functionsยง

cache_file_path ๐Ÿ”’
Generates the path to the cached file.
parse_index_key ๐Ÿ”’
Parse index key from the file name.

Type Aliasesยง

FileCacheRef ๐Ÿ”’