Relative Content

Tag Archive for filerustdirectorydirectory-listing

How to get the current dir in walkdir without using std::env::curren_dir

so i’ve been working on these little project and i want to get the current folders files and directories. i use walkdir crate and i’m be able to get the files via providing relative but i can’t get the files in the current directory i’m hoping to use ‘.’ for the current directory like use in code . and like vim . but i can’t figure out how to do this correctly is there any way good way to do this or crate to achive this?.