Skip to content

PluginSettingsComponentBase.getRecoveryCopies method

PluginSettingsComponentBase › getRecoveryCopies

Lists the recovery copies of data.json kept on this device: copies of a file that did not parse, and of a file whose stored values a first save would have dropped or changed.

Signature:

getRecoveryCopies(): Promise<SettingsRecoveryCopy[]>

Returns: Promise<SettingsRecoveryCopy[]> — The copies, newest first; none when the data handler keeps no recovery copies.