MCPcopy Index your code
hub / github.com/commander-cli/commander / isSSHTestsEnabled

Function isSSHTestsEnabled

pkg/runtime/ssh_executor_linux_test.go:100–107  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

98}
99
100func isSSHTestsEnabled() bool {
101 v := os.Getenv("COMMANDER_SSH_TEST")
102 if v != "1" {
103 log.Println("Skip ssh_executor_test, set env COMMANDER_SSH_TEST to 1")
104 return false
105 }
106 return true
107}

Callers 3

Test_SSHExecutorFunction · 0.85
Test_SSHExecutor_WithDirFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected