Skip to content

Tankōbon / main/services/comic-service / openArchive

Function: openArchive() ​

openArchive(filePath): Promise<ComicArchive>

Defined in: main/services/comic-service.ts:26

Opens a single archive, without registering it anywhere. Shared with the folder scanner (library-scanner.ts), which opens each file it finds just long enough to read its page count and closes it again — it has no use for ComicService's keep-alive map.

Parameters ​

filePath ​

string

Returns ​

Promise<ComicArchive>