/// <summary> /// 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. /// </summary> public static void Repair(Options options, string name) { IntPtr error; LevelDbInterop.leveldb_repair_db(options.Handle, name, out error); Throw(error); }