Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 167 for symlink2 (0.14 sec)

  1. 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)
  2. src/path/filepath/symlink.go

    			dest += pathSeparator
    		}
    
    		dest += path[start:end]
    
    		// Resolve symlink.
    
    		fi, err := os.Lstat(dest)
    		if err != nil {
    			return "", err
    		}
    
    		if fi.Mode()&fs.ModeSymlink == 0 {
    			if !fi.Mode().IsDir() && end < len(path) {
    				return "", syscall.ENOTDIR
    			}
    			continue
    		}
    
    		// Found symlink.
    
    		linksWalked++
    		if linksWalked > 255 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 23:07:50 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/api/file/FileCollectionSymlinkIntegrationTest.groovy

                def symlink = new File(baseDir, "symlink")
                def symlinked = new File(baseDir, "symlinked")
                def fileCollection = $code
    
                assert fileCollection.contains(file)
                assert fileCollection.contains(symlink)
                assert fileCollection.contains(symlinked)
                assert fileCollection.files == [file, symlink, symlinked] as Set
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  4. platforms/jvm/jvm-services/src/test/groovy/org/gradle/jvm/toolchain/internal/SdkmanInstallationSupplierTest.groovy

            directories*.source.unique() == ["SDKMAN!"]
        }
    
        @Requires(UnitTestPreconditions.Symlinks)
        def "supplies installations with symlinked candidate"() {
            given:
            def real = candidates.createDir("java/11.0.6.hs-adpt")
            def symlink = candidates.file("java/symlink").createLink(real)
    
            when:
            def directories = supplier.get()
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 22:17:53 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  5. platforms/jvm/jvm-services/src/test/groovy/org/gradle/jvm/toolchain/internal/AsdfInstallationSupplierTest.groovy

            directories*.source.unique() == ["asdf-vm"]
        }
    
        @Requires(UnitTestPreconditions.Symlinks)
        def "supplies installations with symlinked candidate"() {
            given:
            def real = candidates.createDir("installs/java/11.0.6.hs-adpt")
            def symlink = candidates.file("installs/java/symlink").createLink(real)
    
            when:
            def directories = supplier.get()
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 22:17:53 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/goroot_executable.txt

    # so it should find the new tree.
    mkdir $WORK/new/pkg/tool
    exec $WORK/bin/check$GOEXE $WORK/new/bin/go$GOEXE $WORK/new
    
    [!symlink] stop 'The rest of the test cases require symlinks'
    
    # Symlinked Executable:
    # With a symlink into go tree, we should still find the go tree.
    mkdir $WORK/other/bin
    symlink $WORK/other/bin/go$GOEXE -> $WORK/new/bin/go$GOEXE
    exec $WORK/bin/check$GOEXE $WORK/new/bin/go$GOEXE $WORK/new
    
    rm $WORK/new/pkg
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  7. 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)
  8. pkg/volume/util/atomic_writer.go

    //
    // The visible files in this volume are symlinks to files in the writer's data
    // directory.  Actual files are stored in a hidden timestamped directory which
    // is symlinked to by the data directory. The timestamped directory and
    // data directory symlink are created in the writer's target dir.  This scheme
    // allows the files to be atomically updated by changing the target of the
    // data directory symlink.
    //
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 12:32:15 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top