Skip to content

Instantly share code, notes, and snippets.

View fs.lua
-- by megagrump@pm.me
-- contains some code by Caldas Lopes: https://github.com/linux-man/lovefs
-- License: MIT
local ffi = require("ffi")
local bit = require("bit")
local fs
if ffi.os == "Windows" then
local lib = ffi.C