MCPcopy Index your code
hub / github.com/rclone/rclone / rclone

Function rclone

cmdtest/cmdtest_test.go:80–82  ·  view source on GitHub ↗

rclone calls rclone with the given arguments, E.g. "version","--help". The test config file is automatically configured in RCLONE_CONFIG. The terminal output is returned as a string.

(args ...string)

Source from the content-addressed store, hash-verified

78// The test config file is automatically configured in RCLONE_CONFIG.
79// The terminal output is returned as a string.
80func rclone(args ...string) (string, error) {
81 return rcloneEnv("", args...)
82}
83
84// getEnvInitial returns the os environment variables cleaned for RCLONE_ vars (except RCLONE_TEST_MAIN).
85func getEnvInitial() []string {

Callers 2

TestCmdTestFunction · 0.85
TestEnvironmentVariablesFunction · 0.85

Calls 1

rcloneEnvFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…