Skip to content

Tankōbon / main/services/nfo / writeNfoIfMissing

Function: writeNfoIfMissing() ​

writeNfoIfMissing(entry): Promise<boolean>

Defined in: main/services/nfo.ts:255

Writes the .nfo of a library entry next to its comic unless one is already there (whatever it holds, it is never overwritten). Returns whether a file was created; any failure (read-only folder, file gone) is reported as false: a sidecar never makes a resynchronization fail.

Parameters ​

entry ​

Pick<LibraryEntry, "language" | "title" | "series" | "volume" | "releaseDate" | "credits"> & object

Returns ​

Promise<boolean>