diff options
| author | V1K1NGbg <victor@ilchev.com> | 2024-08-02 14:47:41 +0300 |
|---|---|---|
| committer | V1K1NGbg <victor@ilchev.com> | 2024-08-05 20:51:31 +0300 |
| commit | 7cf9d20e32276eae933740b69199376c864f541d (patch) | |
| tree | e51dedb60c4a0fac6795f054fea2f3bbff350cf9 | |
| parent | 220366da25017dd4b99f2136c1a35a5efc2d3fd8 (diff) | |
| download | luarocks-7cf9d20e32276eae933740b69199376c864f541d.tar.gz luarocks-7cf9d20e32276eae933740b69199376c864f541d.tar.bz2 luarocks-7cf9d20e32276eae933740b69199376c864f541d.zip | |
fs and cfg update
| -rw-r--r-- | src/luarocks/core/cfg.d.tl | 7 | ||||
| -rw-r--r-- | src/luarocks/fs.d.tl | 6 |
2 files changed, 13 insertions, 0 deletions
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 | |||
| 64 | record variables | 64 | record variables |
| 65 | LUA: string | 65 | LUA: string |
| 66 | GPG: string | 66 | GPG: string |
| 67 | CURL: string | ||
| 68 | CURLNOCERTFLAG: string | ||
| 67 | end | 69 | end |
| 68 | rocks_provided: {Rockspec} | 70 | rocks_provided: {Rockspec} |
| 69 | -- persist | 71 | -- persist |
| @@ -76,6 +78,11 @@ local record cfg | |||
| 76 | file: string | 78 | file: string |
| 77 | end | 79 | end |
| 78 | end | 80 | end |
| 81 | -- type_check | ||
| 82 | accept_unknown_fields: boolean | ||
| 83 | -- api | ||
| 84 | user_agent: string | ||
| 85 | connection_timeout: number | ||
| 79 | end | 86 | end |
| 80 | 87 | ||
| 81 | return cfg \ No newline at end of file | 88 | 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 | |||
| 20 | make_temp_dir: function(string): string, string | 20 | make_temp_dir: function(string): string, string |
| 21 | change_dir: function(string): boolean, string | 21 | change_dir: function(string): boolean, string |
| 22 | pop_dir: function(): boolean | 22 | pop_dir: function(): boolean |
| 23 | -- api | ||
| 24 | which_tool: function(string): string | ||
| 25 | tmpname: function(): string | ||
| 26 | execute_string: function(string): boolean | ||
| 27 | Q: function(string): string | ||
| 28 | download: function(string, string): boolean, string | ||
| 23 | end | 29 | end |
| 24 | 30 | ||
| 25 | return fs | 31 | return fs |
