#Filtering all files in a directory

1 messages · Page 1 of 1 (latest)

unique yarrow
#

-# Somehow the syntax highlight is not working?

modest cloud
#

Discord doesn't have Gleam syntax highlighting

#

you can use Rust, it's close enough

graceful loom
#

For extract_files why not just

pub fn extract_files(extract_from entries_list: List(String)) -> List(String) {
  list.filter(entries_list, fn(entry){
    let assert Ok(is_file) = simplifile.is_file(entry)
    is_file
  })
}