update doc/*/scripting/builtins/libapp.md

This commit is contained in:
MihailRis 2025-11-17 18:17:13 +03:00
parent 614d5f4ae4
commit eb1a955483
2 changed files with 24 additions and 0 deletions

View File

@ -168,3 +168,15 @@ app.create_memory_device(
```
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.

View File

@ -168,3 +168,15 @@ app.create_memory_device(
```
Создаёт файловую систему в памяти.
```lua
app.get_content_sources() -> table<string>
```
Возвращает список источников контента (путей), в порядке убывания приоритета.
```lua
app.set_content_sources(sources: table<string>)
```
Устанавливает список источников контента (путей). Указывается в порядке убывания приоритета.