Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for toZeroPaddedString (0.14 sec)

  1. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/AbstractModule.groovy

        }
    
        private TestFile hashFile(TestFile file, HashFunction hashFunction) {
            def hashFile = getHashFile(file, hashFunction)
            def hash = hashFunction.hashFile(file)
            hashFile.text = hash.toZeroPaddedString(hashFunction.hexDigits)
            return hashFile
        }
    
        private TestFile getHashFile(TestFile file, HashFunction hashFunction) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 5K bytes
    - Viewed (0)
  2. platforms/core-runtime/wrapper-main/src/integTest/groovy/org/gradle/integtests/WrapperChecksumVerificationTest.groovy

        }
    
        static String getDistributionHash(GradleDistribution distribution) {
            sha256().hashFile(distribution.binDistribution).toZeroPaddedString(sha256().hexDigits)
        }
    
        def "wrapper preserves new checksum if it was provided in properties"() {
            given:
            configureServer(false)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 05:54:32 UTC 2024
    - 6K bytes
    - Viewed (0)
Back to top