MCPcopy
hub / github.com/catppuccin/catppuccin / is_enabled

Method is_enabled

samples/python1.py:302–306  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

300 return os.path.dirname(self._active_file_name())
301
302 def is_enabled(self):
303 file_name = self._active_file_name()
304 if file_name and os.path.exists(file_name):
305 return bool(get_vcs(self.get_working_dir()))
306 return False
307
308
309class DiffCommand(VcsCommand):

Callers

nothing calls this directly

Calls 3

_active_file_nameMethod · 0.95
get_working_dirMethod · 0.95
get_vcsFunction · 0.85

Tested by

no test coverage detected