MCPcopy Index your code
hub / github.com/wavetermdev/waveterm / FindGitBashCommand

Method FindGitBashCommand

pkg/wshrpc/wshserver/wshserver.go:789–792  ·  view source on GitHub ↗
(ctx context.Context, rescan bool)

Source from the content-addressed store, hash-verified

787}
788
789func (ws *WshServer) FindGitBashCommand(ctx context.Context, rescan bool) (string, error) {
790 fullConfig := wconfig.GetWatcher().GetFullConfig()
791 return shellutil.FindGitBash(&fullConfig, rescan), nil
792}
793
794func waveFileToWaveFileInfo(wf *filestore.WaveFile) *wshrpc.WaveFileInfo {
795 return &wshrpc.WaveFileInfo{

Callers

nothing calls this directly

Calls 3

GetWatcherFunction · 0.92
FindGitBashFunction · 0.92
GetFullConfigMethod · 0.80

Tested by

no test coverage detected