summaryrefslogtreecommitdiffstats
path: root/acf/util.lua
diff options
context:
space:
mode:
Diffstat (limited to 'acf/util.lua')
-rw-r--r--acf/util.lua16
1 files changed, 0 insertions, 16 deletions
diff --git a/acf/util.lua b/acf/util.lua
index 9ca287c..8dd54cc 100644
--- a/acf/util.lua
+++ b/acf/util.lua
@@ -28,19 +28,3 @@ function map(func, tbl)
for k, v in pairs(tbl) do res[k] = func(copy(v)) end
return res
end
-
-
-local pth = require('acf.path')
-require 'lfs'
-
-function loadmods(subdir)
- local comps = pth.split('/acf/'..subdir)
- local res = {}
- for modfile in lfs.dir(pth.join(unpack(comps))) do
- if stringy.endswith(modfile, '.lua') then
- local name = string.sub(modfile, 1, -5)
- res[name] = require(table.concat(comps, '.')..'.'..name)
- end
- end
- return res
-end