summaryrefslogtreecommitdiffstats
path: root/freeswitch-model.lua
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2015-12-30 14:03:58 +0000
committerTed Trask <ttrask01@yahoo.com>2015-12-30 14:03:58 +0000
commit1adfcffe91e322e347478d3a855814e3573f66fd (patch)
tree023554ce4774bad6370b18d8373bef22610137c3 /freeswitch-model.lua
parentda67a7c45fa1fb4cd3eb48a531a9d07a97410d67 (diff)
downloadacf-freeswitch-1adfcffe91e322e347478d3a855814e3573f66fd.tar.bz2
acf-freeswitch-1adfcffe91e322e347478d3a855814e3573f66fd.tar.xz
Change listfiles filesize to size, size and mtime not user-friendly, use posix.stat over fs.stat, use new format functions
Diffstat (limited to 'freeswitch-model.lua')
-rw-r--r--freeswitch-model.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/freeswitch-model.lua b/freeswitch-model.lua
index d4bf837..56b1f05 100644
--- a/freeswitch-model.lua
+++ b/freeswitch-model.lua
@@ -63,7 +63,7 @@ end
mymodule.list_files = function()
local retval = {}
for file in fs.find(null, baseurl) do
- local details = fs.stat(file)
+ local details = posix.stat(file)
if details.type == "regular" then
details.filename = file
table.insert(retval, details)