摘要:看了不少人的,主要还是错误处理有点问题,不多说了贴代码:require "lfs"function getpathes(rootpath, pathes) pathes = pathes or {} ret, files, iter = pcall(lfs.dir, rootpath) ...
阅读全文
07 2014 档案
摘要:看了不少人的,主要还是错误处理有点问题,不多说了贴代码:require "lfs"function getpathes(rootpath, pathes) pathes = pathes or {} ret, files, iter = pcall(lfs.dir, rootpath) ...
阅读全文
|