Just wondering if there's some sort of native function that when given an absolute path to a directory and the name of the file, the function returns true/false based on whether or not that directory contains the provided file name? Or at least some similar function that I could use to get the same end result (discover whether or not a file is in a directory).
I did some snooping on Google for something but just found people writing their own functions that used a linear search through the directory. Was just hoping there was something better out there that I was overlooking.
I did some snooping on Google for something but just found people writing their own functions that used a linear search through the directory. Was just hoping there was something better out there that I was overlooking.