use glob::glob;
      
      fn main() -> Result<()> {
        for entry in glob("**/*.<EXTENSION>")? {
          println!("{}", entry?.display());
        }
        Ok(())
      }
      
      Rust language logo

      Find all files of

      Codiga's Rust Recipes

      find recursively

      0 Comments

        Add Comment

        Log in to add a comment

        Codiga - All rights reserved 2022.