- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for S3ObjectSummary (0.15 sec)
-
platforms/software/resources-s3/src/test/groovy/org/gradle/internal/resource/transport/aws/s3/S3ResourceResolverTest.groovy
import com.amazonaws.services.s3.model.ObjectListing import com.amazonaws.services.s3.model.S3ObjectSummary import spock.lang.Specification class S3ResourceResolverTest extends Specification { def "should resolve file names"() { setup: ObjectListing objectListing = Mock() objectListing.getPrefix() >> 'root/' S3ObjectSummary objectSummary = Mock() objectSummary.getKey() >> '/SNAPSHOT/some.jar'
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
public class S3ResourceResolver { private static final Pattern FILENAME_PATTERN = Pattern.compile("[^/]+\\.*$"); private static final Function<S3ObjectSummary, String> EXTRACT_FILE_NAME = new Function<S3ObjectSummary, String>() { @Override public String apply(S3ObjectSummary input) { Matcher matcher = FILENAME_PATTERN.matcher(input.getKey()); if (matcher.find()) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 3.2K bytes - Viewed (0) -
platforms/software/resources-s3/src/integTest/groovy/org/gradle/integtests/resource/s3/S3ClientIntegrationTest.groovy
import com.amazonaws.services.s3.model.ObjectListing import com.amazonaws.services.s3.model.Region import com.amazonaws.services.s3.model.S3Object import com.amazonaws.services.s3.model.S3ObjectSummary import com.google.common.base.Optional import org.apache.commons.io.IOUtils import org.gradle.api.Action import org.gradle.integtests.resource.s3.fixtures.S3Server import org.gradle.internal.IoActions
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 9.8K bytes - Viewed (0)