Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 57 for Corefile (0.2 sec)

  1. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/support/KotlinScriptType.kt

        KotlinScriptTypeMatch.forFile(candidate)?.scriptType
    
    
    enum class KotlinScriptType {
        INIT, SETTINGS, PROJECT
    }
    
    
    data class KotlinScriptTypeMatch private constructor(
        val scriptType: KotlinScriptType,
        val match: Match
    ) {
    
        companion object {
    
            internal
            fun forFile(file: File): KotlinScriptTypeMatch? =
                forName(file.name)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  2. subprojects/core/src/test/groovy/org/gradle/api/tasks/DeleteTest.groovy

            !delete.getDidWork()
        }
    
        def "get target files and multiple targets"() {
            when:
            delete.delete("someFile")
            delete.delete(new File("someOtherFile"))
            delete.getTargetFiles()
    
            then:
            delete.getDelete() == WrapUtil.toSet("someFile", new File("someOtherFile"))
            delete.getTargetFiles().getFiles() == getProject().files(delete.getDelete()).getFiles()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 20 11:15:22 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/plugins/buildServiceFromWorkAction/tests/buildServiceFromWorkAction.out

    > Task :download
    Server is running at https://localhost:5005/
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 110 bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/files/fileTrees/kotlin/build.gradle.kts

    tree.visit {
        println("${this.relativePath} => ${this.file}")
    }
    // end::use[]
    
    // tag::archive-trees[]
    // Create a ZIP file tree using path
    val zip: FileTree = zipTree("someFile.zip")
    
    // Create a TAR file tree using path
    val tar: FileTree = tarTree("someFile.tar")
    
    // tar tree attempts to guess the compression based on the file extension
    // however if you must specify the compression explicitly you can:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/snippets/plugins/buildService/kotlin/buildSrc/src/main/java/Download.java

        @TaskAction
        public void download() {
            // Use the server to download a file
            WebServer server = getServer().get();
            URI uri = server.getUri().resolve("somefile.zip");
            System.out.println(String.format("Downloading %s", uri));
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 776 bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/snippets/plugins/buildServiceUsingServiceReference/groovy/buildSrc/src/main/java/Download.java

        @TaskAction
        public void download() {
            // Use the server to download a file
            WebServer server = getServer().get();
            URI uri = server.getUri().resolve("somefile.zip");
            System.out.println(String.format("Downloading %s", uri));
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 802 bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/store/ResolutionResultsStoreFactory.java

            DefaultBinaryStore store = stores.get(storeKey);
            if (store == null || isFull(store) || store.isInUse()) {
                File storeFile = temp.createTemporaryFile("gradle", ".bin");
                storeFile.deleteOnExit();
                store = new DefaultBinaryStore(storeFile);
                stores.put(storeKey, store);
                cleanUpLater.add(store);
            }
            return store;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 5K bytes
    - Viewed (0)
  8. guava/src/com/google/common/io/RecursiveDeleteOption.java

    import com.google.j2objc.annotations.J2ObjCIncompatible;
    import java.nio.file.SecureDirectoryStream;
    
    /**
     * Options for use with recursive delete methods ({@link MoreFiles#deleteRecursively} and {@link
     * MoreFiles#deleteDirectoryContents}).
     *
     * @since 21.0
     * @author Colin Decker
     */
    @J2ktIncompatible
    @GwtIncompatible
    @J2ObjCIncompatible // java.nio.file
    @ElementTypesAreNonnullByDefault
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 2K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/util/copy.go

    	if err != nil {
    		return err
    	}
    	defer func() {
    		_ = destFile.Close()
    	}()
    
    	_, err = io.Copy(destFile, sourceFile)
    
    	return err
    }
    
    // MoveFile moves a file from src to dest.
    func MoveFile(src, dest string) error {
    	err := os.Rename(src, dest)
    	if err != nil && strings.Contains(err.Error(), "invalid cross-device link") {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 22 01:42:57 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  10. platforms/jvm/toolchains-jvm/src/main/java/org/gradle/jvm/toolchain/internal/install/SecureFileDownloader.java

                });
                try {
                    moveFile(targetFile, downloadFile);
                } catch (IOException e) {
                    throw new GradleException("Unable to move downloaded file to target destination", e);
                }
            } finally {
                downloadFile.delete();
            }
        }
    
        private void moveFile(File targetFile, File downloadFile) throws IOException {
            try {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jul 28 16:17:59 UTC 2023
    - 5.6K bytes
    - Viewed (0)
Back to top