mirror of
https://github.com/Keyslam-Group/Concord.git
synced 2025-09-02 04:13:58 -04:00
rename folder src to concord
This commit is contained in:
parent
451b88cdea
commit
f502f1b9f6
14 changed files with 0 additions and 0 deletions
15
concord/utils.lua
Normal file
15
concord/utils.lua
Normal file
|
@ -0,0 +1,15 @@
|
|||
--- Utils
|
||||
-- Helper module for misc operations
|
||||
|
||||
local Utils = {}
|
||||
|
||||
--- Does a shallow copy of a table and appends it to a target table.
|
||||
-- @param orig Table to copy
|
||||
-- @param target Table to append to
|
||||
function Utils.shallowCopy(orig, target)
|
||||
for key, value in pairs(orig) do
|
||||
target[key] = value
|
||||
end
|
||||
end
|
||||
|
||||
return Utils
|
Loading…
Add table
Add a link
Reference in a new issue