add pack.get_info(table) overload

This commit is contained in:
MihailRis
2025-01-02 00:11:09 +03:00
parent c427501897
commit af592b6e7d
3 changed files with 58 additions and 2 deletions
+6
View File
@@ -95,3 +95,9 @@ Returns information about the pack (not necessarily installed).
- `?` - optional
- `~` - weak
for example `!teal`
To obtain information about multiple packs, use table of ids to avoid re-scanning.
```lua
pack.get_info(packids: table) -> {id={...}, id2={...}, ...}
```