20ad96f3cd
This was done by stopping the user configuring single letter remotes and making sure we don't treat single letter remotes as a remote name, but as a drive letter.
12 lines
266 B
Go
12 lines
266 B
Go
// +build !windows
|
|
|
|
package fs
|
|
|
|
// isDriveLetter returns a bool indicating whether name is a valid
|
|
// Windows drive letter
|
|
//
|
|
// On non windows platforms we don't have drive letters so we always
|
|
// return false
|
|
func isDriveLetter(name string) bool {
|
|
return false
|
|
}
|