2021-09-09 12:25:25 +00:00
|
|
|
//go:build !windows
|
2018-01-12 16:30:54 +00:00
|
|
|
|
2022-08-28 11:21:57 +00:00
|
|
|
// Package driveletter returns whether a name is a valid drive letter
|
2018-01-12 16:30:54 +00:00
|
|
|
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
|
|
|
|
}
|