1
mirror of https://github.com/rclone/rclone synced 2024-12-19 09:05:56 +01:00
rclone/fs/driveletter/driveletter.go
2021-09-09 20:43:59 +03:00

16 lines
366 B
Go

// Package driveletter returns whether a name is a valid drive letter
//go:build !windows
// +build !windows
package driveletter
// 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
}