Files
c3c/resources/examples/ls.c3
Christoffer Lerno d5b01d3a8f Native ls
2023-06-21 16:27:53 +02:00

10 lines
148 B
C

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