Skeudenn / main/services/folder-cleanup / findOrphanFolders
Function: findOrphanFolders() ​
findOrphanFolders(
root):Promise<string[]>
Defined in: src/main/services/folder-cleanup.ts:39
The orphan folders under root, outermost first: a folder that holds no book, only sidecars, covers and other orphan folders. root itself and .deletedByTankobon are never listed; a folder that can't be read, or holds any other file (or a link), is kept.
Parameters ​
root ​
string
Returns ​
Promise<string[]>