Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getCommonPrefixes (0.14 sec)

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