diff options
| author | V1K1NGbg <victor@ilchev.com> | 2024-08-22 17:49:09 -0300 |
|---|---|---|
| committer | Hisham Muhammad <hisham@gobolinux.org> | 2024-10-21 13:30:51 -0300 |
| commit | db156bfe12421e71bf4239694b7d8901a52e427b (patch) | |
| tree | 1a78528172f47abddd64b768addeda7c8e7f2c01 /src | |
| parent | c66654ddd5dd895b3c08a79facfc33d71809b589 (diff) | |
| download | luarocks-db156bfe12421e71bf4239694b7d8901a52e427b.tar.gz luarocks-db156bfe12421e71bf4239694b7d8901a52e427b.tar.bz2 luarocks-db156bfe12421e71bf4239694b7d8901a52e427b.zip | |
Teal: add type definition module luarocks.core.types.installs
Diffstat (limited to 'src')
| -rw-r--r-- | src/luarocks/core/types/installs.d.tl | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/src/luarocks/core/types/installs.d.tl b/src/luarocks/core/types/installs.d.tl new file mode 100644 index 00000000..ec406760 --- /dev/null +++ b/src/luarocks/core/types/installs.d.tl | |||
| @@ -0,0 +1,27 @@ | |||
| 1 | local record installs | ||
| 2 | record InstallDir | ||
| 3 | name: string | ||
| 4 | is_module_path: boolean | ||
| 5 | perms: string | ||
| 6 | end | ||
| 7 | |||
| 8 | record InstallDirs | ||
| 9 | lua: InstallDir | ||
| 10 | lib: InstallDir | ||
| 11 | conf: InstallDir | ||
| 12 | bin: InstallDir | ||
| 13 | end | ||
| 14 | |||
| 15 | record IOpts | ||
| 16 | namespace: string | ||
| 17 | deps_mode: string | ||
| 18 | force: boolean | ||
| 19 | force_fast: boolean | ||
| 20 | verify: boolean | ||
| 21 | no_doc: boolean | ||
| 22 | keep: boolean | ||
| 23 | end | ||
| 24 | |||
| 25 | end | ||
| 26 | |||
| 27 | return installs \ No newline at end of file | ||
