Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 96 for symlink2 (0.28 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. src/os/stat_windows.go

    		// (per https://pubs.opengroup.org/onlinepubs/9699919799.2013edition/basedefs/V1_chap04.html#tag_04_12):
    		// symlinks before the last separator in the path must be resolved. Since
    		// the last separator in this case follows the last path element, we should
    		// follow symlinks in the last path element.
    		followSurrogates = true
    	}
    	return stat("Lstat", name, followSurrogates)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:44:48 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  9. platforms/jvm/jvm-services/src/test/groovy/org/gradle/jvm/toolchain/internal/LinuxInstallationSupplierTest.groovy

            directories*.source.unique() == ["Common Linux Locations"]
        }
    
        @Requires(UnitTestPreconditions.Symlinks)
        def "supplies installations with symlinked candidate"() {
            given:
            def otherLocation = temporaryFolder.createDir("other")
            candidates.createDir("14-real")
            candidates.file("symlinked").createLink(otherLocation.canonicalFile)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 10 18:03:55 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  10. src/os/file_windows.go

    		return &LinkError{"link", oldname, newname, err}
    	}
    	return nil
    }
    
    // Symlink creates newname as a symbolic link to oldname.
    // On Windows, a symlink to a non-existent oldname creates a file symlink;
    // if oldname is later created as a directory the symlink will not work.
    // If there is an error, it will be of type *LinkError.
    func Symlink(oldname, newname string) error {
    	// '/' does not work in link's content
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 30 15:38:38 UTC 2024
    - 13.4K bytes
    - Viewed (0)
Back to top