This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- A portable filesystem API using LuaJIT's FFI | |
-- | |
local ffi = require("ffi") | |
local table = require("table") | |
require("string") | |
-- Cache needed functions and locals | |
local C, errno, string = ffi.C, ffi.errno, ffi.string | |
local band = bit.band | |
local concat, insert = table.concat, table.insert |