src/findlib/find_one.c
bool check_changes(JCR *jcr, FF_PKT *ff_pkt)
{
   /* in special mode (like accurate backup), the programmer can
    * choose his comparison function.
    */
   if (ff_pkt->check_fct) {
      return ff_pkt->check_fct(jcr, ff_pkt);
   }

   /* For normal backups (incr/diff), we use this default
    * behaviour
    */
   if (ff_pkt->incremental &&
       (ff_pkt->statp.st_mtime < ff_pkt->save_time &&
        ((ff_pkt->flags & FO_MTIMEONLY) ||
         ff_pkt->statp.st_ctime < ff_pkt->save_time)))
   {
      return false;
   }

   return true;
}
/*
 * For incremental/diffential or accurate backups, we
 *   determine if the current file has changed.
 */
For incremental/diffential or accurate backups, we
determine if the current file has changed.
For incremental / diffential or accurate backups we determine if the current file has changed .
bool check_changes(JCR *jcr, FF_PKT *ff_pkt)
{
   if (ff_pkt->check_fct) {
      return ff_pkt->check_fct(jcr, ff_pkt);
   }
   if (ff_pkt->incremental &&
       (ff_pkt->statp.st_mtime < ff_pkt->save_time &&
        ((ff_pkt->flags & FO_MTIMEONLY) ||
         ff_pkt->statp.st_ctime < ff_pkt->save_time)))
   {
      return false;
   }
   return true;
}
bool check_changes ( JCR * jcr , FF_PKT * ff_pkt ) { if ( ff_pkt -> check_fct ) { return ff_pkt -> check_fct ( jcr , ff_pkt ) ; } if ( ff_pkt -> incremental && ( ff_pkt -> statp . st_mtime < ff_pkt -> save_time && ( ( ff_pkt -> flags & FO_MTIMEONLY ) || ff_pkt -> statp . st_ctime < ff_pkt -> save_time ) ) ) { return false ; } return true ; }
For incremental/diffential or accurate backups, we
   determine if the current file has changed.
For incremental / diffential or accurate backups we determine if the current file has changed .
/* in special mode (like accurate backup), the programmer can
    * choose his comparison function.
    */ /* For normal backups (incr/diff), we use this default
    * behaviour
    */