Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to list the files of a directory in Clean

I need to list all files of a directory using the Clean programming language, but I don't know any function to do so. Can someone help me?

like image 758
Guilherme Avatar asked Feb 01 '26 22:02

Guilherme


1 Answers

You can use the function getDirectoryContents from the Directory module, which is bundled with the Clean distribution.

like image 115
sepp2k Avatar answered Feb 04 '26 16:02

sepp2k