mirror of
				https://gitea.com/Lydanne/buildx.git
				synced 2025-11-04 18:13:42 +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
 | 
						|
}
 |