mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
update doc/*/scripting/builtins/libfile.md
This commit is contained in:
parent
a086b726c6
commit
35ce256c50
2 changed files with 12 additions and 0 deletions
|
|
@ -133,6 +133,12 @@ file.unmount(entry_point: str) --> str
|
|||
|
||||
Unmounts the entry point.
|
||||
|
||||
```lua
|
||||
file.create_zip(directory: str, output_file: str) --> str
|
||||
```
|
||||
|
||||
Creates a ZIP archive from the contents of the specified directory.
|
||||
|
||||
```lua
|
||||
file.name(path: str) --> str
|
||||
```
|
||||
|
|
|
|||
|
|
@ -133,6 +133,12 @@ file.unmount(точка_входа: str) --> str
|
|||
|
||||
Размонтирует точку входа.
|
||||
|
||||
```lua
|
||||
file.create_zip(директория: str, выходной_файл: str) --> str
|
||||
```
|
||||
|
||||
Создаёт ZIP-архив из содержимого указанной директории.
|
||||
|
||||
```lua
|
||||
file.name(путь: str) --> str
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue