summaryrefslogtreecommitdiff
path: root/src/argent.c
diff options
context:
space:
mode:
authorsanine <sanine.not@pm.me>2022-01-03 20:59:16 -0600
committersanine <sanine.not@pm.me>2022-01-03 20:59:16 -0600
commit5830f684ba172664df43eee26636e99e5a228028 (patch)
tree959fe4bd5545e40ef0403432cad535088abb6796 /src/argent.c
parent7db6401dfb0604e92946ac4f7c76d541498e6ebb (diff)
add create_directory() and copy_file()
Diffstat (limited to 'src/argent.c')
-rw-r--r--src/argent.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/argent.c b/src/argent.c
index c4738d4..ae3a717 100644
--- a/src/argent.c
+++ b/src/argent.c
@@ -34,7 +34,9 @@ int main(int argc, char **argv)
hs_create_table
(L,
hs_str_cfunc("markdown", markdown),
- hs_str_cfunc("scanDirectory", scan_directory)
+ hs_str_cfunc("scanDirectory", scan_directory),
+ hs_str_cfunc("createDirectory", create_directory),
+ hs_str_cfunc("copyFile", copy_file)
);
lua_setglobal(L, "argent");