classes/CZIP.cpp
bool CZIP::fileExists(const std::string &fileName)
    {
        struct stat64 fileStat
        {
        };
        int rc = lstat64(fileName.c_str(), &fileStat);
        if (rc != 0)
        {
            throw Exception("stat() error getting file size. ERRNO = " + std::to_string(errno));
        }
        return (rc == 0);
    }
//
// Return true if a files exists.
//

Return true if a files exists.
Return true if a files exists .
bool CZIP::fileExists(const std::string &fileName)
    {
        struct stat64 fileStat
        {
        };
        int rc = lstat64(fileName.c_str(), &fileStat);
        if (rc != 0)
        {
            throw Exception("stat() error getting file size. ERRNO = " + std::to_string(errno));
        }
        return (rc == 0);
    }
bool CZIP :: fileExists ( const std :: string & fileName ) { struct stat64 fileStat { } ; int rc = lstat64 ( fileName . c_str ( ) , & fileStat ) ; if ( rc != 0 ) { throw Exception ( " " + std :: to_string ( errno ) ) ; } return ( rc == 0 ) ; }
Return true if a files exists.
Return true if a files exists .