advtrains/serialize_lib
Gabriel Pérez-Cerezo d8d1d27ccb add unit tests for serialize_lib 2021-01-31 11:53:31 +01:00
..
tests add unit tests for serialize_lib 2021-01-31 11:53:31 +01:00
atomic.lua Fix atomic saving on windows when save file does not exist 2021-01-17 10:27:16 +01:00
init.lua Serialize_lib: finish up and add atomic api 2021-01-12 13:27:00 +01:00
mod.conf Implement basic serialization and file opening 2021-01-12 13:27:00 +01:00
readme.md Implement basic serialization and file opening 2021-01-12 13:27:00 +01:00
serialize.lua Fix serialisation: breach of contract, file left open 2021-01-18 15:27:50 +01:00
settingtypes.txt Serialize_lib: finish up and add atomic api 2021-01-12 13:27:00 +01:00

readme.md

serialize_lib

A Minetest mod library for safely storing large amounts of data in on-disk files. Created out of the need to have a robust data store for advtrains.

The main purpose is to load and store large Lua table structures into files, without loading everything in memory and exhausting the function constant limit of LuaJIT.

Also contains various utilities to handle files on disk in a safe manner, retain multiple versions of the same file a.s.o.