1
1
Fork
You've already forked sfs
1
sfs is an abstraction layer above luafilesystem, to simplify everyday fs operations.
  • Lua 100%
2026年06月06日 17:31:27 +02:00
lua fix: quote empty arguments 2026年06月06日 17:28:56 +02:00
rockspecs Release v0.2.5 2026年06月06日 17:31:27 +02:00
.gitignore chore: update .gitignore 2025年06月02日 21:17:22 +02:00
CHANGELOG.md Release v0.2.5 2026年06月06日 17:31:27 +02:00
LICENSE Release v0.2.1 2026年01月05日 23:03:50 +01:00
README.md Release v0.2.0 2025年06月02日 21:19:09 +02:00
sfs-scm-0.rockspec chore: lock rockspec dependency versions 2025年06月02日 21:16:01 +02:00
sfsrepl.lua chore: make test.lua and sfsrepl.lua executable 2025年06月02日 20:45:06 +02:00
test.lua fix: relative paths are tricky 2025年07月08日 00:11:06 +02:00
TEST.md feat sfs.normalize now returns '.' for empty path 2024年03月25日 11:03:53 +01:00

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.