mirror of
https://github.com/kepler155c/opus
synced 2025-10-17 00:37:39 +00:00
package manager UI
This commit is contained in:
@@ -221,6 +221,7 @@ function Util.findAll(t, name, value)
|
||||
end
|
||||
|
||||
function Util.shallowCopy(t)
|
||||
if not t then error('Util.shallowCopy: invalid table', 2) end
|
||||
local t2 = { }
|
||||
for k,v in pairs(t) do
|
||||
t2[k] = v
|
||||
|
Reference in New Issue
Block a user