mirror of
				https://gitea.com/Lydanne/buildx.git
				synced 2025-11-01 00:23:56 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			24 lines
		
	
	
		
			306 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
		
			306 B
		
	
	
	
		
			Go
		
	
	
	
	
	
| package appdefaults
 | |
| 
 | |
| const (
 | |
| 	Address   = "npipe:////./pipe/buildkitd"
 | |
| 	Root      = ".buildstate"
 | |
| 	ConfigDir = ""
 | |
| )
 | |
| 
 | |
| func UserAddress() string {
 | |
| 	return Address
 | |
| }
 | |
| 
 | |
| func EnsureUserAddressDir() error {
 | |
| 	return nil
 | |
| }
 | |
| 
 | |
| func UserRoot() string {
 | |
| 	return Root
 | |
| }
 | |
| 
 | |
| func UserConfigDir() string {
 | |
| 	return ConfigDir
 | |
| }
 | 
