rsync protocol?
This commit is contained in:
parent
834e73cde5
commit
5337c4e0c4
2 changed files with 14 additions and 1 deletions
|
@ -58,7 +58,7 @@ rsyncUrlIsShell s
|
|||
| "rsync://" `isPrefixOf` s = False
|
||||
| otherwise = go s
|
||||
where
|
||||
-- host:dir is rsync protocol, while host:dir is ssh/rsh
|
||||
-- host:dir is rsync protocol, while host/dir is ssh/rsh
|
||||
go [] = False
|
||||
go (c:cs)
|
||||
| c == '/' = False -- got to directory with no colon
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue