MCPcopy Index your code
hub / github.com/coder/coder / SystemEnvInfo

Struct SystemEnvInfo

agent/usershell/usershell.go:46–46  ·  view source on GitHub ↗

SystemEnvInfo encapsulates the information about the environment just using the default Go implementations.

Source from the content-addressed store, hash-verified

44// SystemEnvInfo encapsulates the information about the environment
45// just using the default Go implementations.
46type SystemEnvInfo struct{}
47
48func (SystemEnvInfo) User() (*user.User, error) {
49 return user.Current()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected