projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Switch to new UCI version
[project/luci.git]
/
libs
/
uvl
/
luasrc
/
uvl
/
loghelper.lua
diff --git
a/libs/uvl/luasrc/uvl/loghelper.lua
b/libs/uvl/luasrc/uvl/loghelper.lua
index
dd9fcd6
..
91da1ac
100644
(file)
--- a/
libs/uvl/luasrc/uvl/loghelper.lua
+++ b/
libs/uvl/luasrc/uvl/loghelper.lua
@@
-71,3
+71,11
@@
function dump_dependency( dep, ref, v, e )
return str
end
+
+function id( c, s, o )
+ if type(c) == "table" then
+ c, s, o = unpack(c)
+ end
+
+ return c .. ( s and '.' .. s or '' ) .. ( o and '.' .. o or '' )
+end