test.lua

Tue, 17 Mar 2009 21:39:41 +0200

author
Tuomo Valkonen <tuomov@iki.fi>
date
Tue, 17 Mar 2009 21:39:41 +0200
changeset 1
e2face1be50e
child 2
3975fa5ed630
permissions
-rw-r--r--

Basic directory scanner


require('scan')

h=scan('/home/tuomov/work/ion-homepage/src')

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

mercurial