2015-12-10 14:35:53 +00:00
|
|
|
// +build !windows
|
|
|
|
|
|
|
|
package system
|
|
|
|
|
2016-04-27 02:26:12 +00:00
|
|
|
// CheckSystemDriveAndRemoveDriveLetter verifies that a path, if it includes a drive letter,
|
|
|
|
// is the system drive. This is a no-op on Linux.
|
|
|
|
func CheckSystemDriveAndRemoveDriveLetter(path string) (string, error) {
|
|
|
|
return path, nil
|
|
|
|
}
|