Remove: .cold file ext
This commit is contained in:
parent
ed7b5996a7
commit
5a9a9975a9
|
@ -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
|
||||||
===========
|
===========
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user