MCPcopy
hub / github.com/wavetermdev/waveterm / InstallRcFiles

Function InstallRcFiles

pkg/wshutil/wshutil.go:411–416  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

409}
410
411func InstallRcFiles() error {
412 home := wavebase.GetHomeDir()
413 waveDir := filepath.Join(home, wavebase.RemoteWaveHomeDirName)
414 wshBinDir := filepath.Join(waveDir, wavebase.RemoteWshBinDirName)
415 return shellutil.InitRcFiles(waveDir, wshBinDir)
416}
417
418func SendErrCh[T any](err error) <-chan wshrpc.RespOrErrorUnion[T] {
419 ch := make(chan wshrpc.RespOrErrorUnion[T], 1)

Callers 3

serverRunFunction · 0.92
wshcmd-rcfiles.goFile · 0.92

Calls 2

GetHomeDirFunction · 0.92
InitRcFilesFunction · 0.92

Tested by

no test coverage detected