Reimplement luafilesystem via LuaJIT FFI
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
.luacheckrc
.travis.yml
LICENSE
README.md
appveyor.yml
dist.ini
lfs_ffi.lua
lfs_spec.lua
lock_unlock.lua
test_lock.lua
test_valgrind.lua
travis.sh
valgrind.suppress

README.md

luafilesystem

Build Status Build status

Reimplement luafilesystem via LuaJIT FFI.

Docs

It should be compatible with vanilla luafilesystem: http://keplerproject.github.io/luafilesystem/manual.html#reference

What you only need is replacing require('lfs') to require('lfs_ffi').`

Installation

[sudo] opm get spacewander/luafilesystem

Run resty -e "lfs = require('lfs_ffi') print(lfs.attributes('.', 'mode'))" to validate the installation.