2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-22 12:55:18 +00:00

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"