filehound icon indicating copy to clipboard operation
filehound copied to clipboard

depth() don't work correct

Open TomFuch opened this issue 3 years ago • 0 comments

Describe the bug When path() is the root of a windows driveletter, depth(0) is not restricted to the root. It will also find files in the first directory level.

To Reproduce Steps to reproduce the behaviour: const files = FileHound.create() .path('z:\\') .depth(0) .find();

Expected behaviour Files are also detected in the first level of subdirectories.

TomFuch avatar Jan 26 '23 15:01 TomFuch