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:
parent
e4a39e02d2
commit
345b6c4694
@ -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"
|
||||
|
@ -1,4 +1,4 @@
|
||||
package sftp
|
||||
package backend
|
||||
|
||||
import (
|
||||
"unicode"
|
@ -1,4 +1,4 @@
|
||||
package sftp
|
||||
package backend
|
||||
|
||||
import (
|
||||
"reflect"
|
Loading…
Reference in New Issue
Block a user