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

Method Environ

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

Environ returns the environment variables of the current process.

()

Source from the content-addressed store, hash-verified

31 User() (*user.User, error)
32 // Environ returns the environment variables of the current process.
33 Environ() []string
34 // HomeDir returns the home directory of the current user.
35 HomeDir() (string, error)
36 // Shell returns the shell of the given user.

Callers 15

startCleanerFunction · 0.65
PGDumpSchemaOnlyFunction · 0.65
ServerMethod · 0.65
headerTransportFunction · 0.65
gitsshFunction · 0.65
TestProcGroupProcessExitFunction · 0.65
resolveEnvMethod · 0.65
StartMethod · 0.65

Implementers 2

SystemEnvInfoagent/usershell/usershell.go
fakeEnvInfoeragent/agentssh/agentssh_test.go

Calls

no outgoing calls

Tested by 10

TestProcGroupProcessExitFunction · 0.52
runSubprocessFunction · 0.52
binCmdFunction · 0.52
TestDockerEnvInfoerFunction · 0.52
CommandContextMethod · 0.52
gitCmdFunction · 0.52