mirror of
https://gitea.com/Lydanne/buildx.git
synced 2025-05-18 17:37:46 +08:00
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
|
|
}
|