- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 16 for tarTo (0.1 sec)
-
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/SkipWhenEmptyIntegrationTest.groovy
def emptyDirectory = file("emptyDir").createDir() def emptyZip = file("emptyZip.zip") def emptyTar = file("emptyTar.tar") emptyDirectory.zipTo(emptyZip) emptyDirectory.tarTo(emptyTar) buildFile << sourceTask buildFile << """ tasks.register("sourceTask", MySourceTask) { sources.setFrom(${inputDeclaration})
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Aug 23 15:09:05 UTC 2022 - 3.5K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/ArchiveTaskPermissionsIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 11 06:18:03 UTC 2023 - 5.9K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/continuous/ArchivesContinuousIntegrationTest.groovy
where: type | packType | source | readonly "zipTree" | "zipTo" | "source.zip" | true "zipTree" | "zipTo" | "source.zip" | false "tarTree" | "tarTo" | "source.tar" | true "tarTree" | "tarTo" | "source.tar" | false "tarTree" | "tgzTo" | "source.tgz" | true "tarTree" | "tgzTo" | "source.tgz" | false "tarTree" | "tbzTo" | "source.tbz2" | true
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:29:13 UTC 2023 - 5K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/internal/fingerprint/impl/DefaultFileCollectionSnapshotterTest.groovy
def snapshot = snapshotter.snapshot(zipTree).snapshot then: assertSingleFileSnapshot(snapshot) when: TestFile tar = tempDir.file('archive.tar') archiveBaseDir.tarTo(tar) def tarTree = TestFiles.fileOperations(tempDir, testFileProvider()).tarTree(tar) snapshot = snapshotter.snapshot(tarTree).snapshot then: assertSingleFileSnapshot(snapshot)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 12 16:25:23 UTC 2022 - 7.1K bytes - Viewed (0) -
testing/performance/src/performanceTest/groovy/org/gradle/performance/regression/corefeature/ArchiveTreePerformanceTest.groovy
) def "visiting tar trees"() { given: runner.tasksToRun = ['visitTar'] runner.addBuildMutator { createArchive(it, "archive.tar") { contents, output -> contents.tarTo(output) } } when: def result = runner.run() then: result.assertCurrentVersionHasNotRegressed() } @RunFor(
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 26 11:42:52 UTC 2024 - 5.6K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/bundling/ArchiveIntegrationTest.groovy
given: TestFile tar = file('tar-contents') tar.create { someDir { file '1.txt' } } tar.tarTo(file('test.tar')) and: buildFile << ''' def res = new ReadableResource() { InputStream read() { new FileInputStream(file('test.tar')) }
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/TestFile.java
new TestFileHelper(this).zipTo(zipFile, useNativeTools, readOnly); return this; } public TestFile tarTo(TestFile tarFile) { return tarTo(tarFile, false); } public TestFile tarTo(TestFile tarFile, boolean readOnly) { new TestFileHelper(this).tarTo(tarFile, useNativeTools, readOnly); return this; } public TestFile tgzTo(TestFile tarFile) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 18:31:52 UTC 2024 - 30.3K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/file/archive/TarFileTreeTest.java
TestFiles.tmpDirTemporaryFileProvider(tempDirProvider.getTestDirectory())); } @Override protected void archiveFileToRoot(TestFile file) { rootDir.tarTo(file); } @Override protected TestFile getArchiveFile() { return archiveFile; } @Override protected TarFileTree getTree() { return tree; } @Test
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 26 15:15:04 UTC 2024 - 5.5K bytes - Viewed (0) -
testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/file/TestFileHelper.groovy
archiveFileSet.setDirMode("0555") archiveTask.add(archiveFileSet) } else { archiveTask.setBasedir(file) } } void tarTo(TestFile tarFile, boolean nativeTools, boolean readOnly) { //TODO: there is an inconsistency here; when using native tools the root folder is put into the TAR, but only its content is packaged by the other branch
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/CopyTaskIntegrationSpec.groovy
and: "a tar file containing it" def tarFile = file("before/files.tar") untarredDir.tarTo(tarFile) and: "another tar file with the same contents" def tarFile2 = file("before/files2.tar") untarredDir.tarTo(tarFile2) and: "a copy task that copies from both tar files, failing on duplicates" buildFile << """
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 03 15:21:23 UTC 2024 - 67.9K bytes - Viewed (0)