bool isDirectory()

in src/xalanc/PlatformSupport/DirectoryEnumerator.hpp [152:165]


    bool isDirectory() const
    {
#if defined(__SunOS_5_10) && (__SUNPRO_CC >= 0x570)
            struct stat64 stat_Info;

            const int   retCode = stat64(d_name, &stat_Info);
#else
            struct  stat stat_Info;
        
            const int   retCode = stat(d_name, &stat_Info);
#endif

        return retCode == -1 ? false : S_ISDIR(stat_Info.st_mode);
    }