More details for scan error reports #676
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user