data: data/ini (configparser-compatible reading: comments, ':' / '=', continuations, duplicates, top-level keys; inline comments / no-value keys / types / strict options; configparser layout on encode); configparser fixtures

This commit is contained in:
4DBug committed 2026-10-31 08:53:45 -05:00
1 parent 1b9b1d82ee
commit 6cee99f4e3
5 files changed
+396

No files matched your search

+12
View File
@@ -50,6 +50,18 @@ local list: { Entry } = {
return require("@formats/data/csv")
end,
},
{
name = "ini",
category = "data",
path = "data/ini",
extensions = { "ini", "cfg", "conf", "inf", "desktop" },
mime = { "text/plain" },
deps = { "core/Err", "core/Bytes", "Types", "codecs/Json" },
caps = { decode = true, encode = true, ordered = true },
load = function()
return require("@formats/data/ini")
end,
},
{
name = "json",
category = "data",