Crate deno_cache_dir

Source

Modules§

file_fetcher
memory
npm

Structs§

CacheEntry
Checksum
ChecksumIntegrityError
GlobalHttpCache
HttpCacheItemKey
Computed cache key, which can help reduce the work of computing the cache key multiple times.
LocalHttpCache
LocalLspHttpCache
A vendor/ folder http cache for the lsp that provides functionality for doing a reverse mapping.
SerializedCachedUrlMetadata

Enums§

CacheReadFileError
DenoDirResolutionError
GlobalOrLocalHttpCache
GlobalToLocalCopy

Constants§

CACHE_PERM
Permissions used to save a file in the disk caches.

Traits§

GlobalHttpCacheSys
HttpCache
LocalHttpCacheSys
ResolveDenoDirSys

Functions§

resolve_deno_dir
url_to_filename
Turn provided url into a hashed filename. URLs can contain a lot of characters that cannot be used in filenames (like “?”, “#”, “:”), so in order to cache them properly they are deterministically hashed into ASCII strings.

Type Aliases§

GlobalHttpCacheRc
HeadersMap
HttpCacheRc
LocalHttpCacheRc