Remove: .cold file ext

This commit is contained in:
Coder12a 2019-10-15 11:14:31 -05:00
parent ed7b5996a7
commit 5a9a9975a9
2 changed files with 3 additions and 1 deletions

View File

@ -4,6 +4,8 @@ ColdDB
ColdDB is a minetest mod that implements a serverless, asynchronous, NoSQL database engine.<br> ColdDB is a minetest mod that implements a serverless, asynchronous, NoSQL database engine.<br>
It provides a key or key-value based storage system using plain Lua tables.<br> It provides a key or key-value based storage system using plain Lua tables.<br>
.cold file ext was removed.
Usage Usage
=========== ===========

View File

@ -81,7 +81,7 @@ function colddb.Colddb(dir)
end end
local function file_exists(name) local function file_exists(name)
local f = io.open(string.format("%s/%s.cold", directory, name), "r") local f = io.open(string.format("%s/%s", directory, name), "r")
if f ~= nil then if f ~= nil then
io.close(f) io.close(f)
return true return true