mirror of
				https://gitea.com/Lydanne/buildx.git
				synced 2025-11-04 18:13:42 +08:00 
			
		
		
		
	- drops the replace-rule for github.com/aws/aws-sdk-go-v2/config (as it no longer was replacing anything)
- drops the replace-rules for docker/cli and docker/docker (at least as long as we continue using tagged releases)
- removes the github.com/docker/docker/pkg/stringid package (which was redundant)
full diff: 9624ab4710..5993b526de
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
		
	
		
			
				
	
	
		
			34 lines
		
	
	
		
			591 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			34 lines
		
	
	
		
			591 B
		
	
	
	
		
			Go
		
	
	
	
	
	
package appdefaults
 | 
						|
 | 
						|
import (
 | 
						|
	"os"
 | 
						|
	"path/filepath"
 | 
						|
)
 | 
						|
 | 
						|
const (
 | 
						|
	Address = "npipe:////./pipe/buildkitd"
 | 
						|
)
 | 
						|
 | 
						|
var (
 | 
						|
	Root                 = filepath.Join(os.Getenv("ProgramData"), "buildkitd", ".buildstate")
 | 
						|
	ConfigDir            = filepath.Join(os.Getenv("ProgramData"), "buildkitd")
 | 
						|
	DefaultCNIBinDir     = filepath.Join(ConfigDir, "bin")
 | 
						|
	DefaultCNIConfigPath = filepath.Join(ConfigDir, "cni.json")
 | 
						|
)
 | 
						|
 | 
						|
func UserAddress() string {
 | 
						|
	return Address
 | 
						|
}
 | 
						|
 | 
						|
func EnsureUserAddressDir() error {
 | 
						|
	return nil
 | 
						|
}
 | 
						|
 | 
						|
func UserRoot() string {
 | 
						|
	return Root
 | 
						|
}
 | 
						|
 | 
						|
func UserConfigDir() string {
 | 
						|
	return ConfigDir
 | 
						|
}
 |