Files
c3c/resources/examples/ls.c3
2023-09-24 23:50:16 +02:00

10 lines
150 B
C

import std::io;
fn void main()
{
Path path = path::getcwd()!!;
foreach (i, p : path::ls(path)!!)
{
io::printfn("%02d %s", i, p.str_view());
}
}