about summary refs log tree commit diff stats
path: root/src/linit.c
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2022-01-29 12:11:21 -0800
committerKartik K. Agaram <vc@akkartik.com>2022-01-29 12:39:53 -0800
commit24f0781d2bd96ac333337ccb2168fb26b601db7a (patch)
tree0d4bf969f30bf1575900ac7b0f06c6acb9859831 /src/linit.c
parent90fc24ed041736d6cdebc74e5fd2e260e3803c3b (diff)
downloadteliva-24f0781d2bd96ac333337ccb2168fb26b601db7a.tar.gz
new library: luafilesystem (lfs)
https://github.com/keplerproject/luafilesystem

The new commander.tlv app demonstrates it working.
Diffstat (limited to 'src/linit.c')
-rw-r--r--src/linit.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/linit.c b/src/linit.c
index f2fd331..b22d822 100644
--- a/src/linit.c
+++ b/src/linit.c
@@ -22,6 +22,7 @@ static const luaL_Reg lualibs[] = {
   {LUA_OSLIBNAME, luaopen_os},
   {LUA_STRLIBNAME, luaopen_string},
   {LUA_MATHLIBNAME, luaopen_math},
+  {LUA_LFSLIBNAME, luaopen_lfs},
   {LUA_CURSESLIBNAME, luaopen_curses},
   {LUA_SOCKETCORELIBNAME, luaopen_socket_core},
   {LUA_MIMECORELIBNAME, luaopen_mime_core},