Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 755 for ZIP (0.02 sec)

  1. platforms/documentation/docs/src/snippets/files/fileTrees/groovy/build.gradle

    // Visit the elements of the tree
    tree.visit {element ->
        println "$element.relativePath => $element.file"
    }
    // end::use[]
    
    // tag::archive-trees[]
    // Create a ZIP file tree using path
    FileTree zip = zipTree('someFile.zip')
    
    // Create a TAR file tree using path
    FileTree tar = tarTree('someFile.tar')
    
    //tar tree attempts to guess the compression based on the file extension
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/mod/sumdb/dirhash/hash.go

    	return files, nil
    }
    
    // HashZip returns the hash of the file content in the named zip file.
    // Only the file names and their contents are included in the hash:
    // the exact zip file format encoding, compression method,
    // per-file modification times, and other metadata are ignored.
    func HashZip(zipfile string, hash Hash) (string, error) {
    	z, err := zip.OpenReader(zipfile)
    	if err != nil {
    		return "", err
    	}
    	defer z.Close()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 10 18:59:52 UTC 2023
    - 4K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheFileTreeIntegrationTest.groovy

            isZip = fileTree.toString().startsWith('zip')
        }
    
        private List<String> fileTrees() {
            [
                "fileTree(dir: 'src', include: '**/*.*')",
                "zipTree('src.zip')",
            ]
        }
    
        private ArrayList<String> fileTreeOperators() {
            [
                'filter { it.path.endsWith "ok" }',
                'matching(patternSet)',
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 3K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/mod_get_pseudo_prefix.txt

      echo $i >status
      git add status
      git commit -m $i
      git tag $i
    done
    echo 'after last tag' >status
    git add status
    git commit -m 'after last tag'
    
    zip -r ../prefixtagtests.zip .
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 24 15:54:04 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  5. src/time/zoneinfo_ios.go

    func gorootZoneSource(goroot string) (string, bool) {
    	// The working directory at initialization is the root of the
    	// app bundle: "/private/.../bundlename.app". That's where we
    	// keep zoneinfo.zip for tethered iOS builds.
    	// For self-hosted iOS builds, the zoneinfo.zip is in GOROOT.
    	var roots []string
    	if goroot != "" {
    		roots = append(roots, goroot+"/lib/time")
    	}
    	wd, err := syscall.Getwd()
    	if err == nil {
    		roots = append(roots, wd)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 18 20:57:35 UTC 2022
    - 1K bytes
    - Viewed (0)
  6. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleKotlinDslRuntimeGeneratedSources.java

            getFs().sync(spec -> {
                spec.from(kotlinDslExtensionsJar, zip -> zip.include("**/*.kt"));
                spec.into(getGeneratedSources());
            });
            getFs().sync(spec -> {
                spec.from(kotlinDslExtensionsJar, zip -> zip.include("**/*.class"));
                spec.into(getGeneratedClasses());
            });
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Mar 19 17:15:23 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/mod_verify.txt

    cp go.sum.good go.sum
    go mod verify
    ! exists $GOPATH/pkg/mod/cache/download/rsc.io/quote/@v/v1.1.0.zip
    
    # With bad go.sum, verify succeeds by avoiding download.
    cp go.sum.bad go.sum
    go mod verify
    ! exists $GOPATH/pkg/mod/cache/download/rsc.io/quote/@v/v1.1.0.zip
    
    # With bad go.sum, sync (which must download) fails.
    rm go.sum
    cp go.sum.bad go.sum
    ! go mod tidy
    stderr 'checksum mismatch'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:14 UTC 2021
    - 2.3K bytes
    - Viewed (0)
  8. platforms/core-runtime/wrapper-main/src/integTest/groovy/org/gradle/integtests/WrapperBadArchiveTest.groovy

        private static final String GRADLE_BIN_ZIP = "/gradle-bin.zip"
        private static final String GRADLE_BIN_HASH = "/gradle-bin.zip.sha256"
        private static final String BAD_ARCHIVE_CONTENT = "bad archive content"
    
        @Rule
        BlockingHttpServer server = new BlockingHttpServer()
    
        TestFile badArchive = file("bad-archive.zip") << BAD_ARCHIVE_CONTENT
    
        def "wrapper gets bad archive on 1 attempt"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 05:54:32 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/snippets/files/archivesChangedBaseName/tests/zipWithArchivesBaseName.out

    Project name: archives-changed-base-name
    gradle-1.0.zip
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 83 bytes
    - Viewed (0)
  10. subprojects/core/src/test/groovy/org/gradle/internal/classpath/ClasspathWalkerTest.groovy

        }
    
        def "visits files of zip"() {
            def visitor = Mock(ClasspathEntryVisitor)
    
            def dir = tmpDir.createDir("dir")
            dir.file("empty").createDir()
            dir.file("a.class").text = "a"
            dir.file("a/b/c.class").text = "c"
            dir.file("a/b/empty").createDir()
    
            def zip = tmpDir.file("classes.zip")
            dir.zipTo(zip)
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 20 11:15:22 UTC 2023
    - 3.7K bytes
    - Viewed (0)
Back to top