mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
f154588226
Signed-off-by: John Howard <jhoward@microsoft.com>
9 lines
272 B
Go
9 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
|
|
}
|