From ea88ca02a8da5e406a7a71892eb0b03de0acba0b Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Tue, 1 Nov 2011 23:36:26 +0000 Subject: Allow getting the number of errors found by a store checker object. --- lib/backupstore/BackupStoreCheck.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'lib/backupstore') diff --git a/lib/backupstore/BackupStoreCheck.h b/lib/backupstore/BackupStoreCheck.h index e48141f9..da182c5b 100644 --- a/lib/backupstore/BackupStoreCheck.h +++ b/lib/backupstore/BackupStoreCheck.h @@ -84,6 +84,10 @@ public: void Check(); bool ErrorsFound() {return mNumberErrorsFound > 0;} + inline int64_t GetNumErrorsFound() + { + return mNumberErrorsFound; + } private: enum @@ -161,7 +165,7 @@ private: #else #define DUMP_OBJECT_INFO #endif - + private: std::string mStoreRoot; int mDiscSetNumber; -- cgit v1.2.3