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
e8153f3393
commit
5f71c82cc4
2 changed files with 24 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue