diff options
author | Ted Trask <ttrask01@yahoo.com> | 2015-12-30 13:50:12 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2015-12-30 13:53:11 +0000 |
commit | 37025219f0df09f2ebf1d4c62ff954deb84a14b3 (patch) | |
tree | b855f0c5d852debde4e4308dfb7a64f75bf83229 /asterisk-model.lua | |
parent | 2609c2a70d3f1dc75bc695c0421c5a54a523e961 (diff) | |
download | acf-asterisk-37025219f0df09f2ebf1d4c62ff954deb84a14b3.tar.bz2 acf-asterisk-37025219f0df09f2ebf1d4c62ff954deb84a14b3.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 'asterisk-model.lua')
-rw-r--r-- | asterisk-model.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/asterisk-model.lua b/asterisk-model.lua index 6858e6f..6f37fe7 100644 --- a/asterisk-model.lua +++ b/asterisk-model.lua @@ -52,7 +52,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) |