Merge: down later
This commit is contained in:
parent
b7a1c9fcc4
commit
94b62ac5ab
|
@ -79,6 +79,11 @@ function colddb.Colddb(dir)
|
|||
self.get_serializer = function()
|
||||
return serializer, deserializer
|
||||
end
|
||||
|
||||
self.set_serializer = function(coder, decoder)
|
||||
serializer = coder
|
||||
deserializer = decoder
|
||||
end
|
||||
|
||||
local function file_exists(name)
|
||||
local f = io.open(string.format("%s/%s.cold", directory, name), "r")
|
||||
|
|
Loading…
Reference in New Issue
Block a user