Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for putArchiveEntry (0.15 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
Back to top