Make Doc keep track of max line length

This commit is contained in:
Guldoman
2021-08-30 17:58:22 +02:00
committed by Francesco
parent 3eb6f1dbd4
commit e52362e55f
2 changed files with 81 additions and 0 deletions
+8
View File
@@ -393,4 +393,12 @@ function common.rm(path, recursively)
return true
end
function common.get_table_size(t)
local count = 0
for _ in pairs(t) do
count = count + 1
end
return count
end
return common