Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 385 for symlink2 (0.12 sec)

  1. 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)
  2. 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)
  3. platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/snapshot/impl/DirectorySnapshotterTest.groovy

            ] as Set
        }
    
        @Requires(UnitTestPreconditions.Symlinks)
        def "symlinked directories in tree are marked as accessed via symlink"() {
            def rootDir = tmpDir.createDir("root")
            def linkTarget = tmpDir.createDir("linkTarget")
            linkTarget.file("other/text.txt").text = "text"
            def symlink = rootDir.file("some/sub/dir")
            symlink.createLink(linkTarget)
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:32 UTC 2023
    - 23.6K bytes
    - Viewed (0)
  4. cmd/os_windows.go

    		var typ os.FileMode // regular file
    		switch {
    		case data.FileAttributes&syscall.FILE_ATTRIBUTE_REPARSE_POINT != 0:
    			// Reparse point is a symlink
    			fi, err := os.Stat(pathJoin(dirPath, name))
    			if err != nil {
    				// It got deleted in the meantime, not found
    				// or returns too many symlinks ignore this
    				// file/directory.
    				if osIsNotExist(err) || isSysErrPathNotFound(err) ||
    					isSysErrTooManySymlinks(err) {
    					continue
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Oct 18 18:08:15 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  5. 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)
  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-execution/snapshots/src/test/groovy/org/gradle/internal/snapshot/impl/DirectorySnapshotterStatisticsTest.groovy

            then:
            3 * statisticsCollector.recordVisitDirectory()
            2 * statisticsCollector.recordVisitFile()
            0 * _
        }
    
        @Requires(UnitTestPreconditions.Symlinks)
        def "can visit broken symlink"() {
            given:
            def rootDir = tmpDir.createDir("root")
            rootDir.file('brokenSymlink').createLink("linkTarget")
            assert rootDir.listFiles()*.exists() == [false]
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:32 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  8. 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)
  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