[Fix] Whitespace.

This commit is contained in:
Ritchie Cunningham 2025-11-04 21:35:45 +00:00
parent 6618b0e0a2
commit 2e5ddcd2e6

View File

@ -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.