in sparkey/__init__.py [0:0]
def flush(self): """Flushes all log writes, and also rebuilds the hash.""" self._assert_open() self._logwriter.flush() writehash(self._hashfile, self._logfile, self._hash_size)