glob
glob copied to clipboard
Glob for C++17
I'm using this on several platforms and all work great, but now I need it on iOS as well and something like `glob::glob("*.png")` fails with `The complexity of an attempted...
Nice work! Suggest to give this project and the package a more distinct name. There is a possibly that the include directory "glob" and namespace "glob" conflict with something else....
hope the parameter itself can also be **filesystem::path** ``` vector glob(filesystem::path pathname); vector rglob(filesystem::path pathname); vector glob(vector pathnames); vector rglob(vector pathnames); ```
I'm imagining that most people who use the single file header include would just like to copy it in their project (at least on a temporary basis). I'd like to...
How to glob symbolic linked files as well.
Hi, thank you for this nice library! I think glob::rglob("dir/**/*.ext") should match: - dir/file.ext - dir/sub/file.ext - dir/sub/sub/file.ext Currently it only matches: - dir/sub/file.ext - dir/sub/sub/file.ext Or how else one...
In single_include/glob/glob.hpp I had to change a few cases of std::filesystem to fs in order to get glob to work with gulrak/filesystem. Since there are other places in glob.hpp where...
The following snippet will not return the expected subdir: ```c++ // long path auto dummy = std::filesystem::temp_directory_path() / "loooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooonooooooooog" / "dummy" / "dummy"; // prefix with the magic '\\?\' shenanigans...
The `glob.h` name is very easy to confuse with `libc`'s `glob.h`. Plus the single-header version is called `glob.hpp`, which makes it difficult to write portable code that can use either...