better type annotation for genHeader

This commit is contained in:
Izaya 2020-06-25 09:39:31 +10:00
parent f0fb5ff776
commit 4a5d9bcee2
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ local function cleanPath(path)
return table.concat(pt,"/")
end
function mtar.genHeader(fname,len) -- generate a header for file *fname* when provided with file length *len*
function mtar.genHeader(fname,len) -- string number -- string -- generate a header for file *fname* when provided with file length *len*
return string.format("%s%s%s",cint(fname:len(),2),fname,cint(len,2))
end