- Sort Score
- Result 10 results
- Languages All
Results 21 - 26 of 26 for JarEntry (0.13 sec)
-
testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/archive/TarTestFixture.groovy
for (TarArchiveEntry tarEntry = getNextEntry(tarInputStream); tarEntry != null; tarEntry = getNextEntry(tarInputStream)) { addMode(tarEntry.name, tarEntry.mode) if (tarEntry.directory) { continue } def tarEntryContent = getContentForEntry(tarEntry, tarInputStream, contentCharset) add(tarEntry.name, tarEntryContent) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 2.3K bytes - Viewed (0) -
platforms/core-runtime/wrapper-shared/src/integTest/groovy/org/gradle/integtests/TarSlipIntegrationTest.groovy
file("evil.tar.bz") } def setup() { evilTar.withOutputStream { new TarOutputStream(it).withCloseable { TarOutputStream tos -> TarEntry entry = new TarEntry('../../tmp/evil.sh') byte[] bytes = 'evil'.getBytes('utf-8') entry.size = bytes.length tos.putNextEntry(entry) tos.write(bytes)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:12:34 UTC 2023 - 2.2K bytes - Viewed (0) -
platforms/core-execution/build-cache/src/jmh/java/org/gradle/caching/internal/tasks/JTarPacker.java
for (DataSource input : inputs) { @SuppressWarnings("OctalInteger") TarHeader header = TarHeader.createHeader(input.getName(), input.getLength(), 0, false, 0644); TarEntry entry = new TarEntry(header); tarOutput.putNextEntry(entry); PackerUtils.packEntry(input, tarOutput, buffer); } tarOutput.close(); } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:43:12 UTC 2023 - 2.1K bytes - Viewed (0) -
platforms/core-execution/build-cache-packaging/src/main/java/org/gradle/caching/internal/packaging/impl/TarBuildCacheEntryPacker.java
TarArchiveEntry tarEntry; OriginMetadata originMetadata = null; Map<String, FileSystemLocationSnapshot> snapshots = new HashMap<>(); tarEntry = tarInput.getNextEntry(); AtomicLong entries = new AtomicLong(); while (tarEntry != null) { entries.incrementAndGet(); String path = safeEntryName(tarEntry);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Feb 02 07:31:19 UTC 2024 - 19.5K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/file/archive/TarFileTree.java
TarArchiveEntry tarEntry = tais.getNextEntry(); if (tarEntry == null) { // empty TAR return; } if (tarEntry.isCheckSumOK()) { return; } } catch (Exception e) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 26 15:15:04 UTC 2024 - 9.8K bytes - Viewed (0) -
platforms/core-runtime/wrapper-shared/src/test/groovy/org/gradle/wrapper/InstallTest.groovy
* See the License for the specific language governing permissions and * limitations under the License. */ package org.gradle.wrapper import org.apache.tools.tar.TarEntry import org.apache.tools.tar.TarOutputStream import org.gradle.test.fixtures.file.CleanupTestDirectory import org.gradle.test.fixtures.file.TestFile import org.gradle.test.fixtures.file.TestNameTestDirectoryProvider
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:12:34 UTC 2023 - 9.8K bytes - Viewed (0)