sfs is an abstraction layer above luafilesystem, to simplify everyday fs operations.
- Lua 100%
| lua | fix: quote empty arguments | |
| rockspecs | Release v0.2.5 | |
| .gitignore |
chore: update .gitignore
|
|
| CHANGELOG.md | Release v0.2.5 | |
| LICENSE | Release v0.2.1 | |
| README.md | Release v0.2.0 | |
| sfs-scm-0.rockspec | chore: lock rockspec dependency versions | |
| sfsrepl.lua |
chore: make test.lua and sfsrepl.lua executable
|
|
| test.lua | fix: relative paths are tricky | |
| TEST.md |
feat sfs.normalize now returns '.' for empty path
|
|
sfs
sfs is an abstraction layer above luafilesystem, to simplify everyday fs operations.
Currently this repository is under development and only used within lrocket and my personal projects. It works quite well and runs stably for my needs though. If you use the lua language server you'll get incode completion and documentation. See CHANGELOG for details and changes.
I use minor version breaking changes and patch version for fixes and new features until 1.0 which will be semver.
Installation
$ luarocks install sfs
Example usage
local sfs = require 'sfs'
for file in sfs.glob "{/usr,}/include/lua*{/lua.h,}" do
print("Lua header file", file)
end
License
The project is licensed under MIT.