/* i.e. when you overwrite a file in a watched directory with another file from the another directory. */
static int dl_detect_overwrites(dep_list **previous, dep_list **current, const traverse_cbs *cbs, void *udata)
/* i.e. when you overwrite a file in a watched directory with another file from the another directory. */
static int dl_detect_overwrites(dep_list **previous, dep_list **current, const traverse_cbs *cbs, void *udata)
{
    assert (cbs != NULL);
    EXCLUDE_SIMILAR
        (previous, current,
         (strcmp (previous_iter->path, current_iter->path) == 0
          && previous_iter->inode != current_iter->inode),
         {
             cb_invoke (cbs, overwritten, udata, current_iter->path, current_iter->inode);
         });
}