- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for putArchiveEntry (0.25 sec)
-
subprojects/core/src/main/java/org/gradle/api/internal/file/archive/TarCopyAction.java
archiveEntry.setSize(fileDetails.getSize()); archiveEntry.setMode(UnixStat.FILE_FLAG | fileDetails.getPermissions().toUnixNumeric()); tarOutStr.putArchiveEntry(archiveEntry); fileDetails.copyTo(tarOutStr); tarOutStr.closeArchiveEntry(); } catch (Exception e) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 08 14:16:53 UTC 2023 - 5.7K bytes - Viewed (0) -
platforms/core-execution/build-cache-packaging/src/test/groovy/org/gradle/caching/internal/packaging/impl/TarBuildCacheEntryPackerTest.groovy
def metadataEntry = new TarArchiveEntry("METADATA") metadataEntry.size = metadataBytes.length tar.putArchiveEntry(metadataEntry) tar.write(metadataBytes) tar.closeArchiveEntry() tar.putArchiveEntry(new TarArchiveEntry("tree-destinationDir/")) tar.closeArchiveEntry() def evilBytes = "evil".bytes
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:43:12 UTC 2023 - 9.1K bytes - Viewed (0) -
platforms/core-execution/build-cache/src/jmh/java/org/gradle/caching/internal/tasks/CommonsTarPacker.java
for (DataSource input : inputs) { TarArchiveEntry entry = new TarArchiveEntry(input.getName()); entry.setSize(input.getLength()); tarOutput.putArchiveEntry(entry); PackerUtils.packEntry(input, tarOutput, buffer); tarOutput.closeArchiveEntry(); } tarOutput.close(); } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Feb 02 07:31:19 UTC 2024 - 2.1K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/file/archive/ZipCopyAction.java
archiveEntry.setTime(getArchiveTimeFor(fileDetails)); archiveEntry.setUnixMode(UnixStat.FILE_FLAG | fileDetails.getPermissions().toUnixNumeric()); zipOutStr.putArchiveEntry(archiveEntry); fileDetails.copyTo(zipOutStr); zipOutStr.closeArchiveEntry(); } catch (Exception e) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 08 14:16:53 UTC 2023 - 6.6K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/internal/classpath/InPlaceClasspathBuilder.java
ZipArchiveEntry zipEntry = newZipEntryWithFixedTime(name); configureCompression(zipEntry, compressionMethod, content); outputStream.setEncoding("UTF-8"); outputStream.putArchiveEntry(zipEntry); outputStream.write(content); outputStream.closeArchiveEntry(); } private void maybeAddParent(String name) throws IOException { String dir = dir(name);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Feb 09 14:05:09 UTC 2024 - 6.9K bytes - Viewed (0) -
platforms/jvm/toolchains-jvm/src/testFixtures/groovy/org/gradle/jvm/toolchain/JdkRepository.groovy
ZipArchiveEntry entry = (ZipArchiveEntry) aos.createArchiveEntry(file, path) entry.setUnixMode(fileSystem.getUnixMode(file)) aos.putArchiveEntry(entry) if (file.isFile()) { try (InputStream i = Files.newInputStream(file.toPath())) { IOUtils.copy(i, aos) } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Sep 20 08:26:19 UTC 2023 - 3.6K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/AbstractModule.groovy
ZipArchiveOutputStream zipStream = new ZipArchiveOutputStream(testFile) try { def entry = new ZipArchiveEntry(testFile.name) entry.setTime(lmd.getTime()) zipStream.putArchiveEntry(entry) zipStream << bos.toByteArray() zipStream.closeArchiveEntry() zipStream.finish() } finally { IoActions.closeQuietly(zipStream) } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 5K bytes - Viewed (0) -
platforms/core-execution/build-cache-packaging/src/main/java/org/gradle/caching/internal/packaging/impl/TarBuildCacheEntryPacker.java
TarArchiveEntry entry = new TarArchiveEntry(path, true); entry.setSize(size); entry.setMode(mode); tarOutput.putArchiveEntry(entry); } @Override public UnpackResult unpack(CacheableEntity entity, InputStream input, OriginReader readOrigin) throws IOException {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Feb 02 07:31:19 UTC 2024 - 19.5K bytes - Viewed (0)