update doc/*/scripting/builtins/libapp.md
This commit is contained in:
parent
614d5f4ae4
commit
eb1a955483
@ -168,3 +168,15 @@ app.create_memory_device(
|
|||||||
```
|
```
|
||||||
|
|
||||||
Creates an in-memory filesystem.
|
Creates an in-memory filesystem.
|
||||||
|
|
||||||
|
```lua
|
||||||
|
app.get_content_sources() -> table<string>
|
||||||
|
```
|
||||||
|
|
||||||
|
Returns a list of content sources (paths), in descending priority order.
|
||||||
|
|
||||||
|
``lua
|
||||||
|
app.set_content_sources(sources: table<string>)
|
||||||
|
```
|
||||||
|
|
||||||
|
Sets a list of content sources (paths). Specified in descending priority order.
|
||||||
|
|||||||
@ -168,3 +168,15 @@ app.create_memory_device(
|
|||||||
```
|
```
|
||||||
|
|
||||||
Создаёт файловую систему в памяти.
|
Создаёт файловую систему в памяти.
|
||||||
|
|
||||||
|
```lua
|
||||||
|
app.get_content_sources() -> table<string>
|
||||||
|
```
|
||||||
|
|
||||||
|
Возвращает список источников контента (путей), в порядке убывания приоритета.
|
||||||
|
|
||||||
|
```lua
|
||||||
|
app.set_content_sources(sources: table<string>)
|
||||||
|
```
|
||||||
|
|
||||||
|
Устанавливает список источников контента (путей). Указывается в порядке убывания приоритета.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user