Skip to content

Tankōbon / main/services/library-cleanup / CleanupDecoder

Interface: CleanupDecoder ​

Defined in: main/services/library-cleanup.ts:20

The part of the decoder process the cleanup calls.

Methods ​

cleanArchive() ​

cleanArchive(filePath, names): Promise<CleanedArchive>

Defined in: main/services/library-cleanup.ts:24

Rewrites a CBZ without the entries named.

Parameters ​

filePath ​

string

names ​

string[]

Returns ​

Promise<CleanedArchive>


listJunk() ​

listJunk(filePath): Promise<JunkEntry[] | null>

Defined in: main/services/library-cleanup.ts:22

The non-image files of a CBZ, null for another format.

Parameters ​

filePath ​

string

Returns ​

Promise<JunkEntry[] | null>