Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 34 for homedir (0.49 sec)

  1. cmd/config-dir.go

    )
    
    // ConfigDir - points to a user set directory.
    type ConfigDir struct {
    	path string
    }
    
    func getDefaultConfigDir() string {
    	homeDir, err := homedir.Dir()
    	if err != nil {
    		return ""
    	}
    
    	return filepath.Join(homeDir, defaultMinioConfigDir)
    }
    
    func getDefaultCertsDir() string {
    	return filepath.Join(getDefaultConfigDir(), certsDir)
    }
    
    func getDefaultCertsCADir() string {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 3K bytes
    - Viewed (0)
  2. build-logic/cleanup/src/main/kotlin/gradlebuild/cleanup/services/CachesCleaner.kt

                if (hasCleaned) {
                    return
                }
                logger.lifecycle("Cleaning up caches...")
                val homeDir = parameters.homeDir.get()
    
                homeDir.asFile.listFiles()?.filter { it.name.startsWith("distributions-") }?.forEach {
                    val workerDir = homeDir.dir(it.name)
                    cleanupDistributionCaches(workerDir, GradleVersion.version(parameters.gradleVersion.get()))
                }
    Plain Text
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Mon Jan 08 12:45:57 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  3. build-logic/integration-testing/src/main/kotlin/gradlebuild.distribution-testing.gradle.kts

    val cachesCleanerService = gradle.sharedServices.registerIfAbsent("cachesCleaner", CachesCleaner::class) {
        parameters.gradleVersion = moduleIdentity.version.map { it.version }
        parameters.homeDir = intTestHomeDir
    }
    
    fun Gradle.rootBuild(): Gradle = parent.let { it?.rootBuild() ?: this }
    
    tasks.withType<DistributionTest>().configureEach {
        shouldRunAfter("test")
    
        setJvmArgsOfTestJvm()
    Plain Text
    - Registered: Wed Mar 27 11:36:08 GMT 2024
    - Last Modified: Tue Nov 28 20:40:40 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  4. go.sum

    github.com/minio/zipindex v0.3.0 h1:9alMPe9K5X19zCqC7bJfLya5Opy5FjcYVlkuZom0MX0=
    github.com/minio/zipindex v0.3.0/go.mod h1:uCv+DULcGHWzRN/3+Vary0KVVan0aVS2NqDi6KyIRMo=
    github.com/mitchellh/go-homedir v1.1.0 h1:lukF9ziXFxDFPkA1vsr5zpc1XuPDn/wFntq5mG+4E0Y=
    github.com/mitchellh/go-homedir v1.1.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0=
    github.com/mitchellh/mapstructure v1.1.2/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y=
    Plain Text
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Apr 16 18:48:56 GMT 2024
    - 84.4K bytes
    - Viewed (0)
  5. CHANGELOG/CHANGELOG-1.23.md

    - github.com/magiconair/properties: [v1.8.1 → v1.8.5](https://github.com/magiconair/properties/compare/v1.8.1...v1.8.5)
    - github.com/mitchellh/go-homedir: [v1.1.0 → v1.0.0](https://github.com/mitchellh/go-homedir/compare/v1.1.0...v1.0.0)
    - github.com/mitchellh/mapstructure: [v1.1.2 → v1.4.1](https://github.com/mitchellh/mapstructure/compare/v1.1.2...v1.4.1)
    Plain Text
    - Registered: Fri Apr 26 09:05:10 GMT 2024
    - Last Modified: Tue Feb 28 21:06:52 GMT 2023
    - 424.5K bytes
    - Viewed (0)
  6. go.sum

    github.com/mitchellh/copystructure v1.2.0/go.mod h1:qLl+cE2AmVv+CoeAwDPye/v+N2HKCj9FbZEVFJRxO9s=
    github.com/mitchellh/go-homedir v1.1.0 h1:lukF9ziXFxDFPkA1vsr5zpc1XuPDn/wFntq5mG+4E0Y=
    github.com/mitchellh/go-homedir v1.1.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0=
    github.com/mitchellh/go-wordwrap v1.0.1 h1:TLuKupo69TCn6TQSyGxwI1EblZZEsQ0vMlAFQflz0v0=
    Plain Text
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Apr 23 19:52:35 GMT 2024
    - 110.5K bytes
    - Viewed (0)
  7. CHANGELOG/CHANGELOG-1.26.md

    - github.com/miekg/dns: [v1.0.14](https://github.com/miekg/dns/tree/v1.0.14)
    - github.com/mitchellh/cli: [v1.0.0](https://github.com/mitchellh/cli/tree/v1.0.0)
    - github.com/mitchellh/go-homedir: [v1.1.0](https://github.com/mitchellh/go-homedir/tree/v1.1.0)
    - github.com/mitchellh/go-testing-interface: [v1.0.0](https://github.com/mitchellh/go-testing-interface/tree/v1.0.0)
    Plain Text
    - Registered: Fri Apr 26 09:05:10 GMT 2024
    - Last Modified: Thu Mar 14 16:24:51 GMT 2024
    - 425.7K bytes
    - Viewed (0)
  8. CHANGELOG/CHANGELOG-1.24.md

    - github.com/miekg/dns: [v1.0.14](https://github.com/miekg/dns/tree/v1.0.14)
    - github.com/mitchellh/cli: [v1.0.0](https://github.com/mitchellh/cli/tree/v1.0.0)
    - github.com/mitchellh/go-homedir: [v1.0.0](https://github.com/mitchellh/go-homedir/tree/v1.0.0)
    - github.com/mitchellh/go-testing-interface: [v1.0.0](https://github.com/mitchellh/go-testing-interface/tree/v1.0.0)
    Plain Text
    - Registered: Fri Apr 26 09:05:10 GMT 2024
    - Last Modified: Thu Aug 24 00:02:43 GMT 2023
    - 473.4K bytes
    - Viewed (0)
  9. CHANGELOG/CHANGELOG-1.16.md

    - github.com/mattn/go-isatty: [v0.0.3](https://github.com/mattn/go-isatty/tree/v0.0.3)
    - github.com/mholt/certmagic: [6a42ef9](https://github.com/mholt/certmagic/tree/6a42ef9)
    - github.com/mitchellh/go-homedir: [v1.1.0](https://github.com/mitchellh/go-homedir/tree/v1.1.0)
    - github.com/naoina/go-stringutil: [v0.1.0](https://github.com/naoina/go-stringutil/tree/v0.1.0)
    - github.com/naoina/toml: [v0.1.1](https://github.com/naoina/toml/tree/v0.1.1)
    Plain Text
    - Registered: Fri Apr 26 09:05:10 GMT 2024
    - Last Modified: Thu Feb 11 10:00:57 GMT 2021
    - 345.2K bytes
    - Viewed (0)
  10. src/archive/zip/struct.go

    		mode |= fs.ModeDir
    	}
    	return mode
    }
    
    // SetMode changes the permission and mode bits for the [FileHeader].
    func (h *FileHeader) SetMode(mode fs.FileMode) {
    	h.CreatorVersion = h.CreatorVersion&0xff | creatorUnix<<8
    	h.ExternalAttrs = fileModeToUnixMode(mode) << 16
    
    	// set MSDOS attributes too, as the original zip does.
    	if mode&fs.ModeDir != 0 {
    		h.ExternalAttrs |= msdosDir
    	}
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 12.1K bytes
    - Viewed (0)
Back to top