Tankōbon / main/services/library-scanner / collectComicFiles
Function: collectComicFiles()
collectComicFiles(
directory):Promise<string[]>
Defined in: main/services/library-scanner.ts:30
Every supported comic under directory, recursively, sorted so a scan walks a series in a predictable order. Directories that can't be read (permissions, a disconnected network share) are skipped rather than failing the whole scan. Symlinks are never followed: isDirectory() is false for them, which also rules out cycles.
Parameters
directory
string
Returns
Promise<string[]>