test.lua@5700ebe9277b
test.lua
Fri, 24 Jan 2025 13:27:45 +0100
- author
- Tuomo Valkonen <tuomov@iki.fi>
- date
- Fri, 24 Jan 2025 13:27:45 +0100
- changeset 44
- 5700ebe9277b
- parent 2
-
3975fa5ed630
- permissions
- -rw-r--r--
Fix directory creation, as lfs doesn't do all leaves like the old approach.
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)