MCPcopy
hub / github.com/rclone/rclone / Run

Method Run

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

Run runs cmd on the remote host. Typically, the remote server passes cmd to the shell for interpretation. A Session only accepts one call to Run, Start, Shell, Output, or CombinedOutput.

(cmd string)

Source from the content-addressed store, hash-verified

60 // A Session only accepts one call to Run, Start, Shell, Output,
61 // or CombinedOutput.
62 Run(cmd string) error
63
64 // Close the session
65 Close() error

Callers 15

TestMainFunction · 0.65
TestMainFunction · 0.65
TestPatternMatchFunction · 0.65
TestIntegrationFunction · 0.65
InternalTestMethod · 0.65
TestMoveCopyFunction · 0.65
InternalTestMethod · 0.65
InternalTestMethod · 0.65
InternalTestAuthMethod · 0.65
TestErrorHandlerFunction · 0.65
internalTestMetadataMethod · 0.65

Implementers 1

sshSessionExternalbackend/sftp/ssh_external.go

Calls

no outgoing calls

Tested by 15

TestMainFunction · 0.52
TestMainFunction · 0.52
TestPatternMatchFunction · 0.52
TestIntegrationFunction · 0.52
InternalTestMethod · 0.52
TestMoveCopyFunction · 0.52
InternalTestMethod · 0.52
InternalTestMethod · 0.52
InternalTestAuthMethod · 0.52
TestErrorHandlerFunction · 0.52
internalTestMetadataMethod · 0.52