repair static method

void repair(
  1. String filePath,
  2. Options options
)

If a DB cannot be opened, you may attempt to call this method to resurrect as much of the contents of the database as possible. Some data may be lost, so be careful when calling this function on a database that contains important information.

throws LevelDBException

Implementation

static void repair(String filePath, Options options) {
  return _SLevelDB.repair(filePath, options);
}