Tankōbon / main/services/sidecars / trashSidecars
Function: trashSidecars()
trashSidecars(
comicPath,trash):Promise<void>
Defined in: main/services/sidecars.ts:14
Sends the sidecars of comicPath that exist (<name>.cover.webp, <name>.nfo) through trash (the OS trash, so that it can be undone). One that can't be trashed is left: the comic itself is what counts.
Parameters
comicPath
string
trash
(filePath) => Promise<void>
Returns
Promise<void>