コード例 #1
0
ファイル: DB.cs プロジェクト: robpaveza/mc-mapper
        /// <summary>
        /// Destroy the contents of the specified database.
        /// Be very careful using this method.
        /// </summary>
        public static void Destroy(Options options, string name)
        {
            IntPtr error;

            LevelDBInterop.leveldb_destroy_db(options.Handle, name, out error);
            Throw(error);
        }