DockerCLI/vendor/github.com/moby/buildkit/util/system/path_unix.go

11 lines
292 B
Go
Raw Normal View History

//go:build !windows
// +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
}