You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
	
	
		
			11 lines
		
	
	
		
			292 B
		
	
	
	
		
			Go
		
	
			
		
		
	
	
			11 lines
		
	
	
		
			292 B
		
	
	
	
		
			Go
		
	
//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
 | 
						|
}
 |