Skip to content

Tankōbon / main/services/library-organization / Resynchronizer

Interface: Resynchronizer ​

Defined in: main/services/library-organization.ts:219

Everything a resynchronization needs; built once in main.ts.

Methods ​

run() ​

run(onProgress?): Promise<ResyncResult>

Defined in: main/services/library-organization.ts:225

Walks the library's folders again (new comics added, comics whose file is gone removed), stores the date in lastResyncAt and tells the views. Only one runs at a time: a call during another one resolves to an error result.

Parameters ​

onProgress? ​

(progress) => void

Returns ​

Promise<ResyncResult>