More details for scan error reports #676

This commit is contained in:
emeric
2025-05-26 23:33:52 +02:00
parent 6d6ea4920b
commit 571c0bc5f4
86 changed files with 1794 additions and 950 deletions
@@ -21,16 +21,9 @@
namespace lms::scanner
{
ScanError::ScanError(const std::filesystem::path& _file, ScanErrorType _error, const std::string& _systemError)
: file{ _file }
, error{ _error }
, systemError{ _systemError }
{
}
std::size_t ScanStats::nbFiles() const
{
return skips + additions + updates;
return skips + additions + updates + failures;
}
std::size_t ScanStats::nbChanges() const