lib: debug-log moving / unlinking

This commit is contained in:
Dirk-Jan C. Binnema
2023-12-06 20:29:27 +02:00
parent 0ee0a26689
commit 8bdf6b42a2
2 changed files with 10 additions and 3 deletions

View File

@ -209,7 +209,8 @@ clear_links(const std::string& path, DIR* dir)
mu_warning("error unlinking {}: {}", fullpath, g_strerror(errno));
res = false;
/* LCOV_EXCL_STOP*/
}
} else
mu_debug("unlinked linksdir {}", fullpath);
break;
case DT_DIR: {
DIR* subdir{::opendir(fullpath.c_str())};
@ -263,6 +264,8 @@ msg_move_verify(const std::string& src, const std::string& dst)
mu_debug("source is still there ({}->{})", src, dst);
}
mu_debug("moved {} -> {}", src, dst);
return Ok();
}
/* LCOV_EXCL_STOP*/