loadMirrorList
Import from: @xbbg/xnews
loadMirrorList(
path?):Promise<MirrorList>
Defined in: src/mirrors.ts (declaration: mirrors.d.ts:62)
Reads and parses a mirror list. Throws a config-coded XnewsFetchError when the file cannot be read: a caller that asked for a list and silently got none would otherwise dial nothing and report an empty catalog.
Parameters
path?
string
Returns
Promise<MirrorList>
