Sun, 06 Sep 2020 22:12:52 +0300
Don't auto-create directories that will be empty
1 | 1 | |
2 | require('scan') | |
3 | ||
2 | 4 | h=scan.scan('/home/tuomov/work/newblog/src') |
1 | 5 | |
2 | 6 | scan.hfold(h, '', |
1 | 7 | function(a, n) return a.."/"..n end, |
2 | 8 | function(a, n) print(a.." | "..n) end) |
1 | 9 |