diff options
author | V1K1NGbg <victor@ilchev.com> | 2024-08-22 17:49:06 -0300 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2024-10-21 13:30:51 -0300 |
commit | 124027953feb4d373089f0a6d75fd42ec956da47 (patch) | |
tree | a9cedb6bf171c9ff6cd957c47f60b1935a1c17da /src | |
parent | ac381c2bde4dac2f36552ce541f38b9506d4f3a1 (diff) | |
download | luarocks-124027953feb4d373089f0a6d75fd42ec956da47.tar.gz luarocks-124027953feb4d373089f0a6d75fd42ec956da47.tar.bz2 luarocks-124027953feb4d373089f0a6d75fd42ec956da47.zip |
Teal: convert luarocks.core.types.result
Diffstat (limited to 'src')
-rw-r--r-- | src/luarocks/core/types/result.tl | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/luarocks/core/types/result.tl b/src/luarocks/core/types/result.tl new file mode 100644 index 00000000..e2df3037 --- /dev/null +++ b/src/luarocks/core/types/result.tl | |||
@@ -0,0 +1,14 @@ | |||
1 | local type Query = require("luarocks.core.types.query").Query | ||
2 | |||
3 | local record result | ||
4 | record Result | ||
5 | name: string | ||
6 | version: string | ||
7 | namespace: string | ||
8 | arch: string | ||
9 | repo: string | ||
10 | satisfies: function(Result, Query): boolean | ||
11 | end | ||
12 | end | ||
13 | |||
14 | return result | ||