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

Function GetInfo

pkg/wshutil/wshutil.go:401–409  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

399}
400
401func GetInfo() wshrpc.RemoteInfo {
402 return wshrpc.RemoteInfo{
403 ClientArch: runtime.GOARCH,
404 ClientOs: runtime.GOOS,
405 ClientVersion: wavebase.WaveVersion,
406 Shell: getShell(),
407 HomeDir: wavebase.GetHomeDir(),
408 }
409}
410
411func InstallRcFiles() error {
412 home := wavebase.GetHomeDir()

Callers 1

RemoteGetInfoCommandMethod · 0.92

Calls 2

GetHomeDirFunction · 0.92
getShellFunction · 0.85

Tested by

no test coverage detected