Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 80 for untar (0.09 sec)

  1. cmd/untar.go

    		return d.r.Read(p)
    	}
    	return 0, errors.New("reader closed")
    }
    
    func (d *disconnectReader) Close() error {
    	d.mu.Lock()
    	d.r = nil
    	d.mu.Unlock()
    	return nil
    }
    
    func untar(ctx context.Context, r io.Reader, putObject func(reader io.Reader, info os.FileInfo, name string) error, o untarOptions) error {
    	bf := bufio.NewReader(r)
    	switch f := detect(bf); f {
    	case formatGzip:
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 6K bytes
    - Viewed (0)
  2. testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/file/TestFileHelper.groovy

                return
            }
    
            def untar = new Untar()
            untar.setSrc(file)
            untar.setDest(target)
    
            if (file.name.endsWith(".tgz")) {
                def method = new Untar.UntarCompressionMethod()
                method.value = "gzip"
                untar.compression = method
            } else if (file.name.endsWith(".tbz2")) {
                def method = new Untar.UntarCompressionMethod()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  3. cmd/format_string.go

    // Code generated by "stringer -type=format -trimprefix=format untar.go"; DO NOT EDIT.
    
    package cmd
    
    import "strconv"
    
    func _() {
    	// An "invalid array index" compiler error signifies that the constant values have changed.
    	// Re-run the stringer command to generate them again.
    	var x [1]struct{}
    	_ = x[formatUnknown-0]
    	_ = x[formatGzip-1]
    	_ = x[formatZstd-2]
    	_ = x[formatLZ4-3]
    	_ = x[formatS2-4]
    	_ = x[formatBZ2-5]
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Apr 23 18:58:53 UTC 2021
    - 737 bytes
    - Viewed (0)
  4. releasenotes/notes/wasm-decompress.yaml

    apiVersion: release-notes/v2
    kind: feature
    area: extensibility
    issue: []
    releaseNotes:
      - |
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 08 20:04:00 UTC 2022
    - 181 bytes
    - Viewed (0)
  5. platforms/software/plugins-distribution/src/integTest/groovy/org/gradle/api/plugins/DistributionPluginIntegrationTest.groovy

                }
    
                """
            then:
            succeeds('customDistTar')
            and:
            file('build/distributions/TestProject-custom.tar').usingNativeTools().untarTo(file("untar"))
            file("untar/TestProject-custom/someFile").assertIsFile()
        }
    
        def "can create distribution with .tar in project name"() {
            when:
            buildFile << """
                apply plugin: 'application'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Oct 20 21:03:51 UTC 2023
    - 13.8K bytes
    - Viewed (0)
  6. platforms/jvm/plugins-application/src/integTest/groovy/org/gradle/integtests/ApplicationIntegrationSpec.groovy

            checkApplicationImage('mega-app', distZipDir.file('mega-app'))
    
            def distTarFile = file('build/distributions/mega-app.tar')
            distTarFile.assertIsFile()
    
            def distTarDir = file('build/untar')
            distTarFile.usingNativeTools().untarTo(distTarDir)
            checkApplicationImage('mega-app', distTarDir.file('mega-app'))
        }
    
        def "check distribution contents when all defaults used"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 22:15:44 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  7. subprojects/core-api/src/main/java/org/gradle/api/Script.java

         * <p>
         * You can combine this method with the {@link #copy(groovy.lang.Closure)}
         * method to untar a TAR file:
         *
         * <pre class='autoTested'>
         * task untar(type: Copy) {
         *   from tarTree('someCompressedTar.gzip')
         *
         *   //tar tree attempts to guess the compression based on the file extension
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 15.4K bytes
    - Viewed (0)
  8. subprojects/core-api/src/main/java/org/gradle/api/Project.java

         * <p>
         * You can combine this method with the {@link #copy(Action)}
         * method to untar a TAR file:
         *
         * <pre class='autoTested'>
         * task untar(type: Copy) {
         *   from tarTree('someCompressedTar.gzip')
         *
         *   //tar tree attempts to guess the compression based on the file extension
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 04:56:22 UTC 2024
    - 74.3K bytes
    - Viewed (0)
  9. src/archive/tar/testdata/ustar.tar

    Russ Cox <******@****.***> 1410149331 -0400
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 08 04:08:51 UTC 2014
    - 2K bytes
    - Viewed (0)
  10. docs/de/docs/how-to/general.md

    ## Dokumentations-Tags – OpenAPI
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 18:18:42 UTC 2024
    - 2.9K bytes
    - Viewed (0)
Back to top