Part of bzrlib
Class | KnownHooksRegistry | No class docstring; 2/3 methods documented |
Function | known_hooks_key_to_object | Convert a known_hooks key to a object. |
Function | known_hooks_key_to_parent_and_attribute | See KnownHooksRegistry.key_to_parent_and_attribute. |
Class | Hooks | A dictionary mapping hook name to a list of callables. |
Class | HookPoint | A single hook that clients can register to be called back when it fires. |
Function | hooks_help_text | Undocumented |
Function | install_lazy_named_hook | Install a callable in to a hook lazily, and label it name. |
Parameters | key | A tuple (module_name, member_name) as found in the keys of the known_hooks registry. |
Returns | The object this specifies. |
Parameters | hookpoints_module | Module name of the hook points. |
hookpoints_name | Name of the hook points. | |
hook_name | A hook name. | |
callable | a callable to call for the hook. | |
name | A name to associate a_callable with, to show users what is running. |