Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 212 for content_es (0.14 sec)

  1. platforms/software/resources/src/test/groovy/org/gradle/internal/resource/local/LocalFileStandInExternalResourceTest.groovy

    class LocalFileStandInExternalResourceTest extends Specification {
        @Rule
        TestNameTestDirectoryProvider tmpDir = new TestNameTestDirectoryProvider(getClass())
    
        def "can apply ContentAndMetadataAction to file contents"() {
            def file = tmpDir.createFile("content")
            file.text = "1234"
    
            expect:
            def resource = new LocalFileStandInExternalResource(file, TestFiles.fileSystem())
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 14K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/MappingProvider.java

    import org.gradle.api.Transformer;
    
    import javax.annotation.Nonnull;
    import javax.annotation.Nullable;
    
    /**
     * <p>A mapping provider that uses a transform that:</p>
     *
     * <ul>
     *     <li>1. does not use the value contents</li>
     *     <li>2. always produces a non-null value.</li>
     * </ul>
     *
     * <p>This implementation is used only for internal transforms where these constraints are known to be true.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 17 23:22:41 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  3. platforms/software/resources/src/main/java/org/gradle/internal/resource/TextResource.java

         * Not all resources are available as a file.
         * Note that this method may return null when {@link ResourceLocation#getFile()} returns non-null, when the contents are different.
         *
         * @return A file containing this resource. Returns null if this resource is not available as a file.
         */
        @Nullable
        File getFile();
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  4. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/CacheDecorator.java

     * limitations under the License.
     */
    
    package org.gradle.cache;
    
    public interface CacheDecorator {
        /**
         * @param cacheId Unique id for this cache instance.
         * @param cacheName Name for the type of contents stored in this cache instance.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 1K bytes
    - Viewed (0)
  5. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/collections/SingleIncludePatternFileTree.java

                        throw new GradleException(String.format("Could not list contents of directory '%s' as it is not readable.", file));
                    }
                    // else, might be a link which points to nothing, or has been removed while we're visiting, or ...
                    throw new GradleException(String.format("Could not list contents of '%s'.", file));
                }
                for (File child : children) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/internal/classpath/transforms/BaseClasspathElementTransform.java

                try {
                    visitEntries(builder);
                } catch (FileException e) {
                    // Badly formed archive, so discard the contents and produce an empty JAR
                    LOGGER.debug("Malformed archive '{}'. Discarding contents.", source.getName(), e);
                }
            });
        }
    
        private BiConsumer<File, ClasspathBuilder.Action> resultBuilder() {
            if (source.isDirectory()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 14 09:24:02 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  7. platforms/core-runtime/files/src/main/java/org/gradle/internal/file/impl/DefaultDeleter.java

            if (shouldRemoveContentsOf(file, handling)) {
                File[] contents = file.listFiles();
    
                // Something else may have removed it
                if (contents == null) {
                    return false;
                }
    
                boolean attemptedToDeleteAnything = false;
                for (File item : contents) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 15 17:10:06 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/snippets/ivy-publish/publish-artifact/groovy/build.gradle

    }
    // end::custom-artifact[]
    
    tasks.register('rpm') {
        outputs.file rpmFile
        def rpmFileLocation = rpmFile
        doLast {
            // produce real RPM here
            rpmFileLocation.get().asFile << "file contents"
        }
    }
    
    // tag::custom-artifact[]
    publishing {
        publications {
            ivy(IvyPublication) {
                artifact rpmArtifact
            }
        }
    // end::custom-artifact[]
        repositories {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 919 bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheFileCollectionIntegrationTest.groovy

    package org.gradle.internal.cc.impl
    
    import spock.lang.Issue
    
    class ConfigurationCacheFileCollectionIntegrationTest extends AbstractConfigurationCacheIntegrationTest {
        def "directory tree is treated as build input when its contents are queried during configuration"() {
            buildFile << """
                task report {
                    def tree = fileTree("src")
                    def file1 = file("src/file1")
                    def result = $expression
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  10. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/streams/ValueStore.java

         * flushed to the filesystem on completion of this method.
         */
        BlockAddress write(T value);
    
        /**
         * Reads the contents of the given block.
         * The current thread performs the decoding.
         */
        T read(BlockAddress blockAddress);
    
        interface Writer<T> {
            void write(Encoder encoder, T value) throws Exception;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 1.4K bytes
    - Viewed (0)
Back to top