From 7cf9d20e32276eae933740b69199376c864f541d Mon Sep 17 00:00:00 2001 From: V1K1NGbg Date: Fri, 2 Aug 2024 14:47:41 +0300 Subject: fs and cfg update --- src/luarocks/core/cfg.d.tl | 7 +++++++ src/luarocks/fs.d.tl | 6 ++++++ 2 files changed, 13 insertions(+) (limited to 'src') diff --git a/src/luarocks/core/cfg.d.tl b/src/luarocks/core/cfg.d.tl index 97f10a35..73e946dd 100644 --- a/src/luarocks/core/cfg.d.tl +++ b/src/luarocks/core/cfg.d.tl @@ -64,6 +64,8 @@ local record cfg record variables LUA: string GPG: string + CURL: string + CURLNOCERTFLAG: string end rocks_provided: {Rockspec} -- persist @@ -76,6 +78,11 @@ local record cfg file: string end end + -- type_check + accept_unknown_fields: boolean + -- api + user_agent: string + connection_timeout: number end return cfg \ No newline at end of file diff --git a/src/luarocks/fs.d.tl b/src/luarocks/fs.d.tl index 24f3e61f..076eba06 100644 --- a/src/luarocks/fs.d.tl +++ b/src/luarocks/fs.d.tl @@ -20,6 +20,12 @@ local record fs make_temp_dir: function(string): string, string change_dir: function(string): boolean, string pop_dir: function(): boolean + -- api + which_tool: function(string): string + tmpname: function(): string + execute_string: function(string): boolean + Q: function(string): string + download: function(string, string): boolean, string end return fs -- cgit v1.2.3-55-g6feb