Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for GOTMPDIR (0.07 sec)

  1. src/cmd/go/internal/envcmd/env.go

    		{Name: "GOPROXY", Value: cfg.GOPROXY, Changed: cfg.GOPROXYChanged},
    		{Name: "GOROOT", Value: cfg.GOROOT},
    		{Name: "GOSUMDB", Value: cfg.GOSUMDB, Changed: cfg.GOSUMDBChanged},
    		{Name: "GOTMPDIR", Value: cfg.Getenv("GOTMPDIR")},
    		{Name: "GOTOOLCHAIN"},
    		{Name: "GOTOOLDIR", Value: build.ToolDir},
    		{Name: "GOVCS", Value: cfg.GOVCS},
    		{Name: "GOVERSION", Value: runtime.Version()},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 17:13:51 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  2. src/cmd/dist/util.go

    	}
    	return names
    }
    
    // xworkdir creates a new temporary directory to hold object files
    // and returns the name of that directory.
    func xworkdir() string {
    	name, err := os.MkdirTemp(os.Getenv("GOTMPDIR"), "go-tool-dist-")
    	if err != nil {
    		fatalf("%v", err)
    	}
    	return name
    }
    
    // fatalf prints an error message to standard error and exits.
    func fatalf(format string, args ...interface{}) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 23 17:50:29 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  3. src/cmd/go/internal/work/action.go

    		b.WorkDir = workDir
    	} else if cfg.BuildN {
    		b.WorkDir = "$WORK"
    	} else {
    		if !buildInitStarted {
    			panic("internal error: NewBuilder called before BuildInit")
    		}
    		tmp, err := os.MkdirTemp(cfg.Getenv("GOTMPDIR"), "go-build")
    		if err != nil {
    			base.Fatalf("go: creating work dir: %v", err)
    		}
    		if !filepath.IsAbs(tmp) {
    			abs, err := filepath.Abs(tmp)
    			if err != nil {
    				os.RemoveAll(tmp)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 15:39:17 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  4. src/cmd/go/internal/help/helpdoc.go

    		The name of checksum database to use and optionally its public key and
    		URL. See https://golang.org/ref/mod#authenticating.
    	GOTOOLCHAIN
    		Controls which Go toolchain is used. See https://go.dev/doc/toolchain.
    	GOTMPDIR
    		The directory where the go command will write
    		temporary source files, packages, and binaries.
    	GOVCS
    		Lists version control commands that may be used with matching servers.
    		See 'go help vcs'.
    	GOWORK
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:54:28 UTC 2024
    - 36.3K bytes
    - Viewed (0)
Back to top