Skip to content

Tankōbon / main/services/nfo / readNfoFor

Function: readNfoFor() ​

readNfoFor(comicPath): Promise<MetadataUpdate | null>

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

Reads the .nfo next to comicPath. null when there is none, when it is not a regular file or is larger than MAX_NFO_BYTES, when it can't be read, or when it holds nothing usable: a sidecar never makes an addition fail.

Parameters ​

comicPath ​

string

Returns ​

Promise<MetadataUpdate | null>