DockerCLI/vendor/github.com/moby/buildkit/util/system/path_unix.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
}