GOrgueHashType GOrgueArchiveIndex::GenerateHash() { GOrgueHash hash; hash.Update(sizeof(wxString)); hash.Update(sizeof(GOArchiveEntry)); hash.Update(sizeof(size_t)); wxFileName path_name(m_Path); uint64_t size = path_name.GetSize().GetValue(); uint64_t time = path_name.GetModificationTime().GetTicks(); hash.Update(time); hash.Update(size); return hash.getHash(); }