Bassman2 / MediaDevices

MTP Library
MIT License
99 stars 37 forks source link

HasFiles() / HasAnyFile() on directory #125

Open JohnnyBravo75 opened 11 months ago

JohnnyBravo75 commented 11 months ago

I can Enumerate files, but when I just want to known if there are files in the directory this ist too slow or is there a fast way?

I need something like a HasFiles() or HasAnyFile() function on the directory item...or a "maxfiles" parameter in the EnumerateFiles() function, then I can give 1 for only one file.