MCPcopy Create free account
hub / github.com/GothenburgBitFactory/taskwarrior / enable

Method enable

src/Hooks.cpp:106–110  ·  view source on GitHub ↗

///////////////////////////////////////////////////////////////////////////

Source from the content-addressed store, hash-verified

104
105////////////////////////////////////////////////////////////////////////////////
106bool Hooks::enable(bool value) {
107 bool old_value = _enabled;
108 _enabled = value;
109 return old_value;
110}
111
112////////////////////////////////////////////////////////////////////////////////
113// The on-launch event is triggered once, after initialization, before any

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected