Move backend/sftp.SplitShellArgs to backend/

This commit is contained in:
Alexander Neumann 2018-03-13 20:38:08 +01:00
parent e4a39e02d2
commit 345b6c4694
3 changed files with 3 additions and 3 deletions

View file

@ -179,7 +179,7 @@ func (r *SFTP) IsNotExist(err error) bool {
func buildSSHCommand(cfg Config) (cmd string, args []string, err error) {
if cfg.Command != "" {
return SplitShellArgs(cfg.Command)
return backend.SplitShellArgs(cfg.Command)
}
cmd = "ssh"

View file

@ -1,4 +1,4 @@
package sftp
package backend
import (
"unicode"

View file

@ -1,4 +1,4 @@
package sftp
package backend
import (
"reflect"