tools.cache package

Submodules

tools.cache.clearHistory module

Module clearHistory: This module is a plugin for Mari that allows the user to clear the history and cache from the current Project.

class ClearHistoryMenuItem[source]

Bases: stkMariTools.lib.ui_utils.MariToolsMenuItem

This class adds a Clear History action.

The constructor.

Returns:
logger = <logging.Logger object at 0x00000000067AC7B8>
clearHistory()[source]

This method clears the Mari undo stack and cache.

Returns:
class ClearHistoryMenuItemSubscriber(publisher)[source]

Bases: stkMariTools.lib.callbacks.ProjectChangedSubscriber

Subscribes to project changed events.

The constructor.

Parameters:publisher
Returns:
project_closed()[source]
project_opened()[source]

Module contents