- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for untarTo (0.31 sec)
-
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) -
platforms/jvm/plugins-application/src/integTest/groovy/org/gradle/integtests/ApplicationIntegrationSpec.groovy
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) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/bundling/ArchiveIntegrationTest.groovy
archiveFileName = 'test.tar' } ''' when: run 'tar' then: def expandDir = file('expanded') file('build/test.tar').untarTo(expandDir) expandDir.assertHasDescendants('dir1/file1.txt', 'file1.txt', 'dir2/file2.txt', 'scripts/dir1', 'scripts/dir2/script.sh') expandDir.file('dir1/file1.txt').assertContents(equalTo('[abc]')) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 03 15:21:23 UTC 2024 - 30.2K bytes - Viewed (0) -
testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/file/TestFileHelper.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 10.8K bytes - Viewed (0) -
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) -
testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/file/TestFile.java
assertIsFile(); new TestFileHelper(this).unzipTo(target, useNativeTools, false); } public void untarTo(File target) { assertIsFile(); new TestFileHelper(this).untarTo(target, useNativeTools); } public void copyTo(File target) { if (isDirectory()) { try {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 18:31:52 UTC 2024 - 30.3K bytes - Viewed (0) -
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) -
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) -
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)