MCPcopy
hub / github.com/catppuccin/catppuccin / git_diff_command

Method git_diff_command

samples/python1.py:329–331  ·  view source on GitHub ↗
(self, file_name)

Source from the content-addressed store, hash-verified

327 self.log('diff_done', result)
328
329 def git_diff_command(self, file_name):
330 vcs_options = self.settings.get('vcs_options', {}).get('git') or ['--no-color', '--no-ext-diff']
331 return [get_user_command('git') or 'git', 'diff'] + vcs_options + ['--', file_name]
332
333 def svn_diff_command(self, file_name):
334 params = [get_user_command('svn') or 'svn', 'diff']

Callers

nothing calls this directly

Calls 1

get_user_commandFunction · 0.85

Tested by

no test coverage detected