GUI/node_modules/slice2js/ice/cpp/src/IceUtil/FileUtil.cpp
bool
IceUtilInternal::directoryExists(const string& path)
{
    IceUtilInternal::structstat st;
    if(IceUtilInternal::stat(path, &st) != 0 || !S_ISDIR(st.st_mode))
    {
        return false;
    }
    return true;
}
//
// Determine if a directory exists.
//
Determine if a directory exists.
Determine if a directory exists .
bool
IceUtilInternal::directoryExists(const string& path)
{
    IceUtilInternal::structstat st;
    if(IceUtilInternal::stat(path, &st) != 0 || !S_ISDIR(st.st_mode))
    {
        return false;
    }
    return true;
}
bool IceUtilInternal :: directoryExists ( const string & path ) { IceUtilInternal :: structstat st ; if ( IceUtilInternal :: stat ( path , & st ) != 0 || ! S_ISDIR ( st . st_mode ) ) { return false ; } return true ; }
Determine if a directory exists.
Determine if a directory exists .