extNameToLuaPath
Definition
-- @/lua/common/extensions.lua:61
local function extNameToLuaPath(extName)
if not extName then
return
end
local res = extName:gsub('__', '#'):gsub('_', '/'):gsub('#', '_')
-- log('I', logTag, 'extNameToLuaPath >> ' .. tostring(extName) .. ' => ' .. tostring(res))
return res
end
Callers
@/lua/common/extensions.lua
if not extPath then
extPath = extNameToLuaPath(extName)
end
-- loading using namespace format e.g. ext_etc
extPath = extNameToLuaPath(extName)
end
local function refresh(extName)
local extPath = extNameToLuaPath(extName)
extName = extName,
extPath = extNameToLuaPath(extName),
__virtual__ = true,