Software / code / prosody
Diff
plugins/muc/register.lib.lua @ 11145:be73df6765b9
core.modulemanager: Locate resources of LuaRocks-installed modules
Extra non-code files included with a `copy_directories` directive in a
LuaRocks manifest will be copied into a per-module and per-version
directory under /lib/luarocks/ and all this is there to dig that out so
it can be used in e.g. moduleapi :load_resource().
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Wed, 07 Oct 2020 15:51:37 +0200 |
| parent | 10794:4585fe53e21f |
| child | 11286:336cba957c88 |