Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 389 for symlinks (0.27 sec)

  1. platforms/jvm/toolchains-jvm-shared/src/test/resources/org/gradle/jvm/toolchain/internal/install/jdk-with-symlinks.tar.gz

    jdk-with-symlinks.tar jdk-with-symlinks/bin jdk-with-symlinks/file jdk-with-symlinks/zulu-11.jdk/Contents/Home/bin/file Something here...
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 06:40:04 UTC 2024
    - 318 bytes
    - Viewed (0)
  2. platforms/core-execution/file-watching/src/integTest/groovy/org/gradle/internal/watch/SymlinkFileSystemWatchingIntegrationTest.groovy

            def actualDir = file("actualDir").createDir()
            file("symlink1").createLink(actualDir)
            file("symlink2").createLink(actualDir)
    
            buildFile << """
                task myTask {
                    def outputFile = file("build/output.txt")
                    inputs.dir("symlink1")
                    inputs.dir("symlink2")
                    outputs.file(outputFile)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 13:50:33 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  3. platforms/core-runtime/files/src/testFixtures/groovy/org/gradle/internal/file/AbstractFileMetadataAccessorTest.groovy

            stat.length == 0
            assertSameAccessType(stat, VIA_SYMLINK)
        }
    
        @Requires(UnitTestPreconditions.Symlinks)
        def "stats symlink pointing to symlink pointing to file"() {
            def file = tmpDir.file("file")
            file.text = "123"
            def link = tmpDir.file("link")
            link.createLink(file)
            def linkToLink = tmpDir.file("linkToLink")
            linkToLink.createLink(link)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:50:56 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  4. src/internal/testenv/testenv_notwin.go

    	case "plan9":
    		return false, ""
    	case "android", "wasip1":
    		// For wasip1, some runtimes forbid absolute symlinks,
    		// or symlinks that escape the current working directory.
    		// Perform a simple test to see whether the runtime
    		// supports symlinks or not. If we get a permission
    		// error, the runtime does not support symlinks.
    		dir, err := os.MkdirTemp("", "")
    		if err != nil {
    			return false, ""
    		}
    		defer func() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 02 05:22:00 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  5. platforms/core-runtime/native/src/main/java/org/gradle/internal/nativeintegration/filesystem/jdk7/WindowsJdk7Symlink.java

    import java.nio.file.Files;
    import java.nio.file.LinkOption;
    import java.nio.file.attribute.BasicFileAttributes;
    
    /**
     * Represents the Symlink facilities available on JDK 7 or better on Windows.
     * <p>
     * This subclass is used so that we don't accidentally start creating Symlinks
     * on Windows where it is often not safe to assume that a normal user will
     * have permission to use them.
     */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:06:40 UTC 2023
    - 2K bytes
    - Viewed (0)
  6. platforms/core-runtime/native/src/test/groovy/org/gradle/internal/nativeintegration/filesystem/jdk7/Jdk7SymlinkTest.groovy

        @Requires(UnitTestPreconditions.Symlinks)
        def 'can create and detect symlinks'() {
            def symlink = new Jdk7Symlink(TestFiles.tmpDirTemporaryFileProvider(temporaryFolder.createDir("tmp")))
            def testDirectory = temporaryFolder.getTestDirectory().createDir()
    
            when:
            symlink.symlink(new File(testDirectory, 'testFile'), testDirectory.createFile('symFile'))
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:06:40 UTC 2023
    - 5K bytes
    - Viewed (0)
  7. platforms/core-runtime/files/src/main/java/org/gradle/internal/file/Deleter.java

         *
         * <ul>
         *     <li>a directory, then its contents are removed recursively,</li>
         *     <li>a file or a symlink, then it is deleted and a directory is created in its place,</li>
         *     <li>non-existent, then a directory is created in its place.</li>
         * </ul>
         *
         * Does not follow symlinks.
         *
         * @return {@code true} if anything was removed, {@code false} if no change was
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  8. subprojects/core/src/main/java/org/gradle/api/tasks/Delete.java

        }
    
        /**
         * Returns if symlinks should be followed when doing a delete.
         *
         * @return true if symlinks will be followed.
         */
        @Input
        public boolean isFollowSymlinks() {
            return followSymlinks;
        }
    
        /**
         * Set if symlinks should be followed. If the platform doesn't support symlinks, then this will have no effect.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Oct 24 23:13:41 UTC 2022
    - 4K bytes
    - Viewed (0)
  9. src/internal/testenv/testenv_windows.go

    	symlinkOnce.Do(initWinHasSymlink)
    
    	switch winSymlinkErr {
    	case nil:
    		return true, ""
    	case syscall.EWINDOWS:
    		return false, ": symlinks are not supported on your version of Windows"
    	case syscall.ERROR_PRIVILEGE_NOT_HELD:
    		return false, ": you don't have enough privileges to create symlinks"
    	}
    
    	return false, ""
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 09 19:12:23 UTC 2020
    - 1K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/embed.txt

    rm .git
    
    # build rejects symlinks
    [symlink] symlink x.tzt -> x.txt
    [symlink] ! go build -x
    [symlink] stderr 'pattern [*]t: cannot embed irregular file x.tzt'
    [symlink] rm x.tzt
    
    # build rejects empty directories
    mkdir t
    ! go build -x
    stderr '^x.go:5:12: pattern [*]t: cannot embed directory t: contains no embeddable files$'
    
    # build ignores symlinks and invalid names in directories
    cp x.txt t/.git
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 09 18:03:59 UTC 2021
    - 2.3K bytes
    - Viewed (0)
Back to top