MCPcopy Index your code
hub / github.com/jetify-com/devbox / shellAccess

Function shellAccess

internal/telemetry/segment.go:107–117  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

105)
106
107func shellAccess() shellAccessKind {
108 // Check if running in devbox cloud
109 if envir.IsDevboxCloud() {
110 // Check if running via ssh tty (i.e. ssh shell)
111 if os.Getenv(envir.SSHTTY) != "" {
112 return ssh
113 }
114 return browser
115 }
116 return local
117}

Callers 1

newTrackMessageFunction · 0.85

Calls 1

IsDevboxCloudFunction · 0.92

Tested by

no test coverage detected