MCPcopy
hub / github.com/jisaacks/GitGutter / diff_algorithm

Method diff_algorithm

modules/settings.py:169–177  ·  view source on GitHub ↗

The git diff algorithm command line argument from settings. Returns: string: One of (--minimal, --patience, --histogram) or None if setting is invalid.

(self)

Source from the content-addressed store, hash-verified

167
168 @property
169 def diff_algorithm(self):
170 """The git diff algorithm command line argument from settings.
171
172 Returns:
173 string:
174 One of (--minimal, --patience, --histogram)
175 or None if setting is invalid.
176 """
177 return self._DIFF_ALGORITHM.get(self.get('diff_algorithm'))
178
179
180class GitGutterOpenFileCommand(sublime_plugin.ApplicationCommand):

Callers

nothing calls this directly

Calls 1

getMethod · 0.95

Tested by

no test coverage detected