Location Checker

Checks if files or directories exist

inline bool JSL::locationExists(const std::string &filename)

Checks for the existence of the provided file location, works on both files and directories.

Parameters:

filename – the name of the file or directory to be checked

Returns:

true if location exists (and is accessible), false if not