MCPcopy
hub / github.com/jesseduffield/lazygit / GetExternalDiffCommand

Method GetExternalDiffCommand

pkg/config/pager_config.go:60–66  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

58}
59
60func (self *PagerConfig) GetExternalDiffCommand() string {
61 currentPagerConfig := self.currentPagerConfig()
62 if currentPagerConfig == nil {
63 return ""
64 }
65 return currentPagerConfig.ExternalDiffCommand
66}
67
68func (self *PagerConfig) GetUseExternalDiffGitConfig() bool {
69 currentPagerConfig := self.currentPagerConfig()

Callers 6

DiffCmdObjMethod · 0.80
ShowStashEntryCmdObjMethod · 0.80
ShowFileDiffCmdObjMethod · 0.80
ShowCmdObjMethod · 0.80
newPtyTaskMethod · 0.80

Calls 1

currentPagerConfigMethod · 0.95

Tested by

no test coverage detected