Disk ARchive
2.4.5
|
returns true if the data of the first entry is more recent or of the same date of the one of the second entry More...
#include <criterium.hpp>
Inherits libdar::criterium.
Public Member Functions | |
crit_in_place_data_more_recent (const infinint &hourshift=0) | |
bool | evaluate (const nomme &first, const nomme &second) const |
criterum interface method | |
criterium * | clone () const |
clone construction method |
returns true if the data of the first entry is more recent or of the same date of the one of the second entry
this class always returns false if both entry are not inode. Comparison is done on mtime
Definition at line 292 of file criterium.hpp.
criterium* libdar::crit_in_place_data_more_recent::clone | ( | ) | const [inline, virtual] |
clone construction method
Implements libdar::criterium.
Definition at line 298 of file criterium.hpp.
bool libdar::crit_in_place_data_more_recent::evaluate | ( | const nomme & | first, |
const nomme & | second | ||
) | const [virtual] |
criterum interface method
[in] | first | entry to compare with the following (this is the original or 'in place' entry) |
[in] | second | the other entry to compare with the previous one (this is the new entry to add) |
Implements libdar::criterium.