ci_environment/src/env_lib.cxx
// Returns true if dir exists.
Returns true if dir exists.
Returns true if dir exists .
static bool dir_exists(const char *dir)
{
    bool exists = false;
    if (dir != NULL) {
#ifdef _WIN32
	exists = _access(dir, 00) != -1; 
#else
	exists = access(dir, F_OK) != -1;
#endif
    }
    return exists;
}
static bool dir_exists ( const char * dir ) { bool exists = false ; if ( dir != NULL ) { #ifdef _WIN32 exists = _access ( dir , 00 ) != -1 ; #else exists = access ( dir , F_OK ) != -1 ; #endif } return exists ; }
Returns true if dir exists.
Returns true if dir exists .
// had to include <io.h>