update doc/*/scripting/builtins/libfile.md

This commit is contained in:
MihailRis 2025-03-17 23:08:13 +03:00
parent e8153f3393
commit 5f71c82cc4
2 changed files with 24 additions and 0 deletions

View File

@ -121,6 +121,18 @@ file.read_combined_object(path: str) -> array
Combines objects from JSON files of different packs.
```lua
file.mount(path: str) --> str
```
Mounts a ZIP archive to the filesystem. Returns the entry point name.
```lua
file.unmount(entry_point: str) --> str
```
Unmounts the entry point.
```lua
file.name(path: str) --> str
```

View File

@ -121,6 +121,18 @@ file.read_combined_object(путь: str) -> массив
Совмещает объекты из JSON файлов разных паков.
```lua
file.mount(путь: str) --> str
```
Монтирует ZIP-архив как файловой системе. Возвращает имя точки входа.
```lua
file.unmount(точкахода: str) --> str
```
Размонтирует точку входа.
```lua
file.name(путь: str) --> str
```