Logo Search packages:      
Sourcecode: pan version File versions  Download package

bool pan::file::file_exists ( const char *  filename )

Check to see if the specifiled file exists.

Returns:
true if the file exists, false otherwise
Parameters:
filenamethe file to check

Definition at line 162 of file file-util.cc.

Referenced by get_unique_fname().

{
   return filename && *filename && g_file_test (filename, G_FILE_TEST_EXISTS);
}

Here is the caller graph for this function:


Generated by  Doxygen 1.6.0   Back to index