@Override
	protected void scanFiles(boolean repair) throws FileNotFoundException {
		synchronized (syncObject) {
			super.scanFiles(repair);
			if (currentVersion != 0 && repair) {
				verDBListener.versionsChanged(minVersion, currentVersion);
			}
		}
	}
Scan files and update state.
@param repair if true files are repaired if needed.
Ghidra/Framework/FileSystem/src/main/java/ghidra/framework/store/db/VersionedDatabase.java