Skip to content

Tankōbon / main/services/thumbnail-cache / thumbnailKey

Function: thumbnailKey() ​

thumbnailKey(filePath): string

Defined in: main/services/thumbnail-cache.ts:44

Cache file name of a book: a hash of its path. Keyed by path rather than by library id because the path is what identifies a book across a JSON import (which can give an entry a new id).

Parameters ​

filePath ​

string

Returns ​

string