- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for getCommonPrefixes (0.13 sec)
-
platforms/software/resources-s3/src/test/groovy/org/gradle/internal/resource/transport/aws/s3/S3ResourceResolverTest.groovy
S3ObjectSummary objectSummary2 = Mock() objectSummary2.getKey() >> '/SNAPSHOT/someOther.jar' objectListing.getObjectSummaries() >> [objectSummary, objectSummary2] objectListing.getCommonPrefixes() >> ['root/SNAPSHOT'] S3ResourceResolver resolver = new S3ResourceResolver() when: def results = resolver.resolveResourceNames(objectListing) then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 2.9K bytes - Viewed (0) -
platforms/software/resources-s3/src/main/java/org/gradle/internal/resource/transport/aws/s3/S3ResourceResolver.java
private List<String> resolveDirectoryResourceNames(ObjectListing objectListing) { ImmutableList.Builder<String> builder = ImmutableList.builder(); if (objectListing.getCommonPrefixes() != null) { for (String prefix : objectListing.getCommonPrefixes()) { /** * The common prefixes will also include the prefix of the <code>ObjectListing</code> */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 3.2K bytes - Viewed (0)