| 86 | } |
| 87 | |
| 88 | void FileInfo::reset() |
| 89 | // Reset this to an empty object |
| 90 | { |
| 91 | m_type = UNKNOWN_FILE_TYPE; |
| 92 | m_filepath.clear(); |
| 93 | m_filename.clear(); |
| 94 | m_checksums = false; |
| 95 | m_sparse = false; |
| 96 | m_pagesize = 0; |
| 97 | m_swapped = false; |
| 98 | } |
| 99 | |
| 100 | const char *FileInfo::get_type_string() const |
| 101 | // Return a string constant which represents the type of this file |