MCPcopy Create free account
hub / github.com/bleachbit/bleachbit / __flush

Method __flush

bleachbit/Options.py:190–193  ·  view source on GitHub ↗

Acquire the lock and flush to disk.

(self, force=False)

Source from the content-addressed store, hash-verified

188 self._flush_timer.start()
189
190 def __flush(self, force=False):
191 """Acquire the lock and flush to disk."""
192 with self._flush_lock:
193 self.__flush_locked(force=force)
194
195 def __flush_locked(self, force=False):
196 """Write configuration to disk while holding the flush lock."""

Callers 2

commitMethod · 0.95
closeMethod · 0.95

Calls 1

__flush_lockedMethod · 0.95

Tested by

no test coverage detected