test.lua

Sun, 06 Sep 2020 21:24:39 +0300

author
Tuomo Valkonen <tuomov@iki.fi>
date
Sun, 06 Sep 2020 21:24:39 +0300
changeset 34
4c7122a505d4
parent 2
3975fa5ed630
permissions
-rw-r--r--

Add ignores


require('scan')

h=scan.scan('/home/tuomov/work/newblog/src')

scan.hfold(h, '',
      function(a, n) return a.."/"..n end, 
      function(a, n) print(a.." | "..n) end)
      

mercurial