update doc/*/scripting/builtins/libfile.md
This commit is contained in:
parent
e8153f3393
commit
5f71c82cc4
@ -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
|
||||
```
|
||||
|
||||
@ -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
|
||||
```
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user