Project

General

Profile

« Previous | Next » 

Revision fa0ba809

Added by danij about 12 years ago

Refactor: Replaced fileidentifier_t with FileId

FileId is a new C++ class which thinly wraps an MD5 hash (produced
with QCryptographicHash) into an object.

FileId instances can be built directly from file paths using the
static fromPath() method or constructed from a known Md5Hash.

FileId also implements an asText() method (and, operator String() )
which converts the hash to a textual, hexidecimal representation
and as implementor of LogEntry::Arg::Base - can written directly
to a Log.

The file system's management of file identifiers has been replaced
with an always-sorted QList of FileId instances.

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences