mirror of
https://github.com/rclone/rclone.git
synced 2024-11-27 19:00:00 +08:00
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.
13 lines
266 B
Go
13 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
|
|
}
|