aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorV1K1NGbg <victor@ilchev.com>2024-06-10 02:18:18 +0200
committerV1K1NGbg <victor@ilchev.com>2024-08-05 20:49:17 +0300
commitd66bff649b44aefa7d26f464b606069a062b924f (patch)
tree0f8e0093ab19ce88ae635b3a3d71105ada4e818a
parent6bb0459cfbe0c6da37e9765532f3419df0242871 (diff)
downloadluarocks-d66bff649b44aefa7d26f464b606069a062b924f.tar.gz
luarocks-d66bff649b44aefa7d26f464b606069a062b924f.tar.bz2
luarocks-d66bff649b44aefa7d26f464b606069a062b924f.zip
added cfg record
-rw-r--r--src/luarocks/core/cfg.tl6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/luarocks/core/cfg.tl b/src/luarocks/core/cfg.tl
index f4c78ebf..3613e9dc 100644
--- a/src/luarocks/core/cfg.tl
+++ b/src/luarocks/core/cfg.tl
@@ -20,7 +20,11 @@ local sysdetect = require("luarocks.core.sysdetect")
20local vers = require("luarocks.core.vers") 20local vers = require("luarocks.core.vers")
21 21
22local record cfg 22local record cfg
23 23 detect_sysconfdir: function(): string
24 make_platforms: function(system: string): {any: boolean}
25 make_defaults: function(lua_version: string, target_cpu: string, platforms: {any: any}, home: string): {any: any}
26 use_defaults: function(cfg, defaults: {any: any})
27 --!
24end 28end
25 29
26-------------------------------------------------------------------------------- 30--------------------------------------------------------------------------------