Merge: down later

This commit is contained in:
Coder12a 2019-05-23 10:27:02 -05:00
parent b7a1c9fcc4
commit 94b62ac5ab

View File

@ -80,6 +80,11 @@ function colddb.Colddb(dir)
return serializer, deserializer return serializer, deserializer
end end
self.set_serializer = function(coder, decoder)
serializer = coder
deserializer = decoder
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.cold", directory, name), "r")
if f ~= nil then if f ~= nil then