Signed-off-by: John Howard <jhoward@microsoft.com> Upstream-commit: f1545882264e743fa6d6859ee8687407e28fc35c Component: engine
10 lines
272 B
Go
10 lines
272 B
Go
// +build !windows
|
|
|
|
package system
|
|
|
|
// 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
|
|
}
|