MCPcopy
hub / github.com/rclone/rclone / Setenv

Method Setenv

backend/sftp/ssh.go:33–33  ·  view source on GitHub ↗

Setenv sets an environment variable that will be applied to any command executed by Shell or Run.

(name, value string)

Source from the content-addressed store, hash-verified

31 // Setenv sets an environment variable that will be applied to any
32 // command executed by Shell or Run.
33 Setenv(name, value string) error
34
35 // Start runs cmd on the remote host. Typically, the remote
36 // server passes cmd to the shell for interpretation.

Callers 15

TestMainFunction · 0.65
TestResolveCcachePathFunction · 0.65
TestIntegration2Function · 0.65
TestIntegration3Function · 0.65
setEnvMethod · 0.65
TestShellExpandFunction · 0.65
NewMountCommandFunction · 0.65
TestMountFunction · 0.65
gitannex_test.goFile · 0.65
startFunction · 0.65
mainFunction · 0.65
convertMountHelperArgsFunction · 0.65

Implementers 1

sshSessionExternalbackend/sftp/ssh_external.go

Calls

no outgoing calls

Tested by 9

TestMainFunction · 0.52
TestResolveCcachePathFunction · 0.52
TestIntegration2Function · 0.52
TestIntegration3Function · 0.52
TestShellExpandFunction · 0.52
TestMountFunction · 0.52
TestOptionGettersFunction · 0.52
TestLoggerFunction · 0.52
TestRcFunction · 0.52