Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 69 for untar (0.05 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. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. cmd/object-handlers.go

    	opts.prefixAll = r.Header.Get(xhttp.MinIOSnowballPrefix)
    	if opts.prefixAll != "" {
    		opts.prefixAll = trimLeadingSlash(pathJoin(opts.prefixAll, slashSeparator))
    	}
    
    	if err = untar(ctx, hreader, putObjectTar, opts); err != nil {
    		apiErr := errorCodes.ToAPIErr(s3Err)
    		// If not set, convert or use BadRequest
    		if s3Err == ErrNone {
    			apiErr = toAPIError(ctx, err)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 14 13:28:35 UTC 2024
    - 124.2K bytes
    - Viewed (0)
  9. docs/de/docs/advanced/behind-a-proxy.md

    Ein Proxy mit einem abgetrennten Pfadpräfix bedeutet in diesem Fall, dass Sie einen Pfad unter `/app` in Ihrem Code deklarieren könnten, dann aber, eine Ebene darüber, den Proxy hinzufügen, der Ihre **FastAPI**-Anwendung unter einem Pfad wie `/api/v1` platziert.
    
    In diesem Fall würde der ursprüngliche Pfad `/app` tatsächlich unter `/api/v1/app` bereitgestellt.
    
    Auch wenn Ihr gesamter Code unter der Annahme geschrieben ist, dass es nur `/app` gibt.
    
    ```Python hl_lines="6"
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 20:30:07 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  10. docs/de/docs/advanced/sub-applications.md

    ```
    
    </div>
    
    Und öffnen Sie die Dokumentation unter <a href="http://127.0.0.1:8000/docs" class="external-link" target="_blank">http://127.0.0.1:8000/docs</a>.
    
    Sie sehen die automatische API-Dokumentation für die Hauptanwendung, welche nur deren eigene _Pfadoperationen_ anzeigt:
    
    <img src="/img/tutorial/sub-applications/image01.png">
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 20:18:06 UTC 2024
    - 3.3K bytes
    - Viewed (0)
Back to top