From db156bfe12421e71bf4239694b7d8901a52e427b Mon Sep 17 00:00:00 2001 From: V1K1NGbg Date: Thu, 22 Aug 2024 17:49:09 -0300 Subject: Teal: add type definition module luarocks.core.types.installs --- src/luarocks/core/types/installs.d.tl | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 src/luarocks/core/types/installs.d.tl (limited to 'src') 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 @@ +local record installs + record InstallDir + name: string + is_module_path: boolean + perms: string + end + + record InstallDirs + lua: InstallDir + lib: InstallDir + conf: InstallDir + bin: InstallDir + end + + record IOpts + namespace: string + deps_mode: string + force: boolean + force_fast: boolean + verify: boolean + no_doc: boolean + keep: boolean + end + +end + +return installs \ No newline at end of file -- cgit v1.2.3-55-g6feb