[Fix] Whitespace.
This commit is contained in:
parent
6618b0e0a2
commit
2e5ddcd2e6
@ -3,7 +3,7 @@
|
|||||||
-- Iterate over the 'children' map exposed via C++.
|
-- Iterate over the 'children' map exposed via C++.
|
||||||
|
|
||||||
local function format_permissions(perms)
|
local function format_permissions(perms)
|
||||||
local rwx = { "-", "-", "-", "-", "-", "-","-", "-", "-" }
|
local rwx = { "-", "-", "-", "-", "-", "-", "-", "-", "-" }
|
||||||
if(perms & 0x100) ~= 0 then rwx[1] = "r" end -- Owner read.
|
if(perms & 0x100) ~= 0 then rwx[1] = "r" end -- Owner read.
|
||||||
if(perms & 0x080) ~= 0 then rwx[2] = "w" end -- Owner write.
|
if(perms & 0x080) ~= 0 then rwx[2] = "w" end -- Owner write.
|
||||||
if(perms & 0x040) ~= 0 then rwx[3] = "x" end -- Owner execute.
|
if(perms & 0x040) ~= 0 then rwx[3] = "x" end -- Owner execute.
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user