Skeudenn / main/services/nfo / readNfoFor
Function: readNfoFor() ​
readNfoFor(
comicPath):Promise<MetadataUpdate|null>
Defined in: src/main/services/nfo.ts:191
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>