Skeudenn / main/services/library-cleanup / CleanupDecoder
Interface: CleanupDecoder ​
Defined in: src/main/services/library-cleanup.ts:20
The part of the decoder process the cleanup calls.
Methods ​
cleanArchive() ​
cleanArchive(
filePath,names):Promise<CleanedArchive>
Defined in: src/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: src/main/services/library-cleanup.ts:22
The non-image files of a CBZ, null for another format.
Parameters ​
filePath ​
string
Returns ​
Promise<JunkEntry[] | null>