Skip to content

3scale/luafilesystem-ffi

 
 

Repository files navigation

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.

About

Reimplement luafilesystem via LuaJIT FFI

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Lua 99.2%
  • Shell 0.8%