[Box Backup-commit] COMMIT r3037 - box/trunk/lib/backupstore

subversion at boxbackup.org subversion at boxbackup.org
Tue Nov 1 23:36:26 GMT 2011


Author: chris
Date: 2011-11-01 23:36:26 +0000 (Tue, 01 Nov 2011)
New Revision: 3037

Modified:
   box/trunk/lib/backupstore/BackupStoreCheck.h
Log:
Allow getting the number of errors found by a store checker object.


Modified: box/trunk/lib/backupstore/BackupStoreCheck.h
===================================================================
--- box/trunk/lib/backupstore/BackupStoreCheck.h	2011-11-01 23:36:04 UTC (rev 3036)
+++ box/trunk/lib/backupstore/BackupStoreCheck.h	2011-11-01 23:36:26 UTC (rev 3037)
@@ -84,6 +84,10 @@
 	void Check();
 	
 	bool ErrorsFound() {return mNumberErrorsFound > 0;}
+	inline int64_t GetNumErrorsFound()
+	{
+		return mNumberErrorsFound;
+	}
 
 private:
 	enum
@@ -161,7 +165,7 @@
 #else
 	#define DUMP_OBJECT_INFO
 #endif
-	
+
 private:
 	std::string mStoreRoot;
 	int mDiscSetNumber;




More information about the Boxbackup-commit mailing list