Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for untarTo (0.12 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/ArchiveTaskPermissionsIntegrationTest.groovy

            then:
            file("build/child").mode == 0777
            file("build/child/reference.txt").mode == 0746
            where:
            taskName | unpackMethod
            "Zip"    | "unzipTo"
            "Tar"    | "untarTo"
        }
    
        @Requires(UnitTestPreconditions.FilePermissions)
        def "file and directory permissions can be overridden in #taskName task"() {
            given:
            createDir('parent') {
                child {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 11 06:18:03 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CacheTaskOutputIntegrationTest.groovy

            def tgzCacheEntry = temporaryFolder.file("cache.tgz")
            cacheEntry.copyBytesTo(tgzCacheEntry)
            def extractDir = temporaryFolder.file("extract")
            tgzCacheEntry.untarTo(extractDir)
            tgzCacheEntry.delete()
    
            def metadata = new Properties()
            extractDir.file("METADATA").withInputStream { input ->
                metadata.load(input)
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 20 17:51:57 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  3. subprojects/core/src/test/groovy/org/gradle/api/internal/file/archive/TarCopyActionSpec.groovy

        }
    
        private void tarAndUntarAndCheckFileContents(TestFile tarFile) {
            tar(file("dir/file1"), file("file2"))
    
            TestFile expandDir = temporaryFolder.getTestDirectory().file("expanded")
            tarFile.untarTo(expandDir)
            expandDir.file("dir/file1").assertContents(equalTo("contents of dir/file1"))
            expandDir.file("file2").assertContents(equalTo("contents of file2"))
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 22 14:26:33 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  4. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CacheTaskArchiveErrorIntegrationTest.groovy

                def tgzCacheEntry = temporaryFolder.file("cache.tgz")
                cacheEntry.copyTo(tgzCacheEntry)
                def extractDir = temporaryFolder.file("extract")
                tgzCacheEntry.untarTo(extractDir)
                tgzCacheEntry.delete()
    
                def metadataFile = extractDir.file("METADATA")
                if (matcher.test(metadataFile)) {
                    println "> Corrupting $cacheEntry..."
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. release/downloadIstioCandidate.sh

    #
    # This file will be fetched as: curl -L https://git.io/getLatestIstio | sh -
    # so it should be pure bourne shell, not bash (and not reference other scripts)
    #
    # The script fetches the latest Istio release candidate and untars it.
    # You can pass variables on the command line to download a specific version
    # or to override the processor architecture. For example, to download
    # Istio 1.6.8 for the x86_64 architecture and linux OS,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jul 11 14:13:46 UTC 2023
    - 4.8K bytes
    - Viewed (0)
Back to top