update doc/*/scripting/builtins/libfile.md
This commit is contained in:
parent
a086b726c6
commit
35ce256c50
@ -133,6 +133,12 @@ file.unmount(entry_point: str) --> str
|
|||||||
|
|
||||||
Unmounts the entry point.
|
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
|
```lua
|
||||||
file.name(path: str) --> str
|
file.name(path: str) --> str
|
||||||
```
|
```
|
||||||
|
|||||||
@ -133,6 +133,12 @@ file.unmount(точка_входа: str) --> str
|
|||||||
|
|
||||||
Размонтирует точку входа.
|
Размонтирует точку входа.
|
||||||
|
|
||||||
|
```lua
|
||||||
|
file.create_zip(директория: str, выходной_файл: str) --> str
|
||||||
|
```
|
||||||
|
|
||||||
|
Создаёт ZIP-архив из содержимого указанной директории.
|
||||||
|
|
||||||
```lua
|
```lua
|
||||||
file.name(путь: str) --> str
|
file.name(путь: str) --> str
|
||||||
```
|
```
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user