Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for homeDir (0.12 sec)

  1. platforms/core-runtime/wrapper-shared/src/test/groovy/org/gradle/wrapper/InstallTest.groovy

            _ * localDistribution.distributionDir >> distributionDir
            _ * localDistribution.zipFile >> zipDestination
    
            when:
            def homeDir = install.createDist(configuration)
    
            then:
            homeDir == gradleHomeDir
            gradleHomeDir.assertIsDir()
            gradleHomeDir.file("bin/gradle").assertIsFile()
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:12:34 UTC 2023
    - 9.8K bytes
    - Viewed (0)
  2. src/cmd/go/internal/vcweb/vcweb.go

    		if err != nil {
    			return nil, err
    		}
    	}
    
    	homeDir := filepath.Join(workDir, "home")
    	if err := os.MkdirAll(homeDir, 0755); err != nil {
    		return nil, err
    	}
    
    	env := scriptEnviron(homeDir)
    
    	s := &Server{
    		env:       env,
    		logger:    logger,
    		scriptDir: scriptDir,
    		workDir:   workDir,
    		homeDir:   homeDir,
    		engine:    newScriptEngine(),
    		vcsHandlers: map[string]vcsHandler{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 14 00:03:57 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  3. pkg/test/loadbalancersim/lb_test.go

    							}
    						})
    					}
    				})
    			}
    		})
    	}
    
    	outputFile := os.Getenv("LB_SIM_OUTPUT_FILE")
    	if len(outputFile) == 0 {
    		homeDir, err := os.UserHomeDir()
    		if err != nil {
    			t.Fatal(err)
    		}
    		outputFile = fmt.Sprintf("%s/lb_output.csv", homeDir)
    	}
    
    	err := os.WriteFile(outputFile, []byte(sm.toCSV()), 0o644)
    	if err != nil {
    		t.Fatal(err)
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 19 23:29:30 UTC 2022
    - 11K bytes
    - Viewed (0)
  4. staging/src/k8s.io/cli-runtime/pkg/genericclioptions/config_flags.go

    // it returns standard kube cache dir.
    func getDefaultCacheDir() string {
    	if kcd := os.Getenv("KUBECACHEDIR"); kcd != "" {
    		return kcd
    	}
    
    	return filepath.Join(homedir.HomeDir(), ".kube", "cache")
    }
    
    // ToRESTMapper returns a mapper.
    func (f *ConfigFlags) ToRESTMapper() (meta.RESTMapper, error) {
    	if f.usePersistentConfig {
    		return f.toPersistentRESTMapper()
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 11 15:04:11 UTC 2023
    - 16.9K bytes
    - Viewed (0)
  5. platforms/extensibility/unit-test-fixtures/src/main/java/org/gradle/testfixtures/internal/ProjectBuilderImpl.java

                final File homeDir = new File(buildDefinition.getBuildRootDir(), "gradleHome");
                return new TestBuildScopeServices(buildTree.getServices(), homeDir, supplier);
            }
    
            @Override
            public BuildScopeServices getBuildServices() {
                return super.getBuildServices();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 19:51:36 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  6. platforms/ide/ide-plugins/src/integTest/groovy/org/gradle/plugins/ide/eclipse/EclipseIntegrationTest.groovy

            assert expected == actual
        }
    
        String getActualXml(File file) {
            def gradleUserHomeDir = executer.getGradleUserHomeDir()
            def homeDir = gradleUserHomeDir.absolutePath.replace(File.separator, '/')
            def pattern = Pattern.compile(Pattern.quote(homeDir) + "/caches/${CacheLayout.MODULES.getKey()}/${CacheLayout.FILE_STORE.getKey()}/([^/]+/[^/]+/[^/]+)/[a-z0-9]+/")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 22 01:27:55 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  7. src/cmd/vendor/github.com/google/pprof/internal/driver/fetch.go

    func setTmpDir(ui plugin.UI) (string, error) {
    	var dirs []string
    	if profileDir := os.Getenv("PPROF_TMPDIR"); profileDir != "" {
    		dirs = append(dirs, profileDir)
    	}
    	if homeDir := os.Getenv(homeEnv()); homeDir != "" {
    		dirs = append(dirs, filepath.Join(homeDir, "pprof"))
    	}
    	dirs = append(dirs, os.TempDir())
    	for _, tmpDir := range dirs {
    		if err := os.MkdirAll(tmpDir, 0755); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 19K bytes
    - Viewed (0)
  8. platforms/ide/ide-plugins/src/integTest/groovy/org/gradle/plugins/ide/idea/IdeaIntegrationTest.groovy

            TestFile expectedFile = testDirectory.file("expectedFiles/${path}.xml").assertIsFile()
    
            def expectedXml = expectedFile.text
    
            def homeDir = executer.gradleUserHomeDir.absolutePath.replace(File.separator, '/')
            def pattern = Pattern.compile(Pattern.quote(homeDir) + "/caches/${CacheLayout.MODULES.getKey()}/${CacheLayout.FILE_STORE.getKey()}/([^/]+/[^/]+/[^/]+)/[a-z0-9]+/")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 22 01:27:55 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  9. go.mod

    	github.com/kylelemons/godebug v1.1.0
    	github.com/lestrrat-go/jwx v1.2.29
    	github.com/mattn/go-isatty v0.0.20
    	github.com/miekg/dns v1.1.59
    	github.com/mitchellh/copystructure v1.2.0
    	github.com/mitchellh/go-homedir v1.1.0
    	github.com/moby/buildkit v0.13.2
    	github.com/onsi/gomega v1.33.1
    	github.com/openshift/api v0.0.0-20240530053948-b01900f1982a
    	github.com/pires/go-proxyproto v0.7.0
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 15:32:28 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  10. hack/tools/go.mod

    	github.com/matttproud/golang_protobuf_extensions v1.0.1 // indirect
    	github.com/mbilski/exhaustivestruct v1.2.0 // indirect
    	github.com/mgechev/revive v1.3.7 // indirect
    	github.com/mitchellh/go-homedir v1.1.0 // indirect
    	github.com/mitchellh/mapstructure v1.5.0 // indirect
    	github.com/moricho/tparallel v0.3.1 // indirect
    	github.com/nakabonne/nestif v0.3.1 // indirect
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 10.1K bytes
    - Viewed (0)
Back to top