Search code examples
clean-language

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?


Solution

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