Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 385 for symlink1 (0.14 sec)

  1. platforms/core-runtime/native/src/main/java/org/gradle/internal/nativeintegration/filesystem/services/NativePlatformBackedSymlink.java

            return true;
        }
    
        @Override
        public void symlink(File link, File target) {
            link.getParentFile().mkdirs();
            posixFiles.symlink(link, target.getPath());
        }
    
        @Override
        public boolean isSymlink(File suspect) {
            return posixFiles.stat(suspect).getType() == FileInfo.Type.Symlink;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:06:40 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/link_matching_actionid.txt

    # Checks that an identical binary is built with -trimpath from the same
    # source files, with GOROOT in two different locations.
    # Verifies golang.org/issue/38989
    
    [short] skip
    [!symlink] skip
    
    # Symlink the compiler to a local path
    env GOROOT=$WORK/goroot1
    symlink $GOROOT -> $TESTGO_GOROOT
    
    # Set up fresh GOCACHE
    env GOCACHE=$WORK/gocache1
    mkdir $GOCACHE
    
    # Build a simple binary
    go build -o binary1 -trimpath -x main.go
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 17 14:18:11 UTC 2020
    - 835 bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/list_symlink_vendor_issue15201.txt

    [!symlink] skip
    env GO111MODULE=off
    
    mkdir $WORK/tmp/gopath/src/x/y/_vendor/src/x
    symlink $WORK/tmp/gopath/src/x/y/_vendor/src/x/y -> ../../..
    mkdir $WORK/tmp/gopath/src/x/y/_vendor/src/x/y/w
    cp w.go $WORK/tmp/gopath/src/x/y/w/w.go
    symlink $WORK/tmp/gopath/src/x/y/w/vendor -> ../_vendor/src
    mkdir $WORK/tmp/gopath/src/x/y/_vendor/src/x/y/z
    cp z.go $WORK/tmp/gopath/src/x/y/z/z.go
    
    env GOPATH=$WORK/tmp/gopath/src/x/y/_vendor${:}$WORK/tmp/gopath
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 17 13:25:29 UTC 2020
    - 543 bytes
    - Viewed (0)
  4. src/cmd/go/internal/fsys/fsys.go

    			continue
    		}
    		if fi.Mode().IsRegular() {
    			return true, nil
    		}
    
    		// fi is the result of an Lstat, so it doesn't follow symlinks.
    		// But it's okay if the file is a symlink pointing to a regular
    		// file, so use os.Stat to follow symlinks and check that.
    		actualFilePath, _ := OverlayPath(filepath.Join(dir, fi.Name()))
    		fi, err := os.Stat(actualFilePath)
    		if err == nil && fi.Mode().IsRegular() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 18:35:34 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  5. subprojects/core/src/test/groovy/org/gradle/api/tasks/DeleteTest.groovy

            delete.getTargetFiles().getFiles() == getProject().files(delete.getDelete()).getFiles()
        }
    
        @Requires(UnitTestPreconditions.Symlinks)
        def "can follow symlinks"() {
            given:
            def keepTxt = temporaryFolder.createFile("originalDir", "keep.txt")
            def originalDir = keepTxt.getParentFile()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 20 11:15:22 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  6. src/os/stat_test.go

    	if fi.Mode()&fs.ModeSymlink != 0 {
    		t.Errorf("%q should not be a symlink", path)
    	}
    }
    
    // testIsSymlink verifies that fi refers to symlink.
    func testIsSymlink(t *testing.T, path string, fi fs.FileInfo) {
    	t.Helper()
    	if fi.IsDir() {
    		t.Errorf("%q should not be a directory", path)
    	}
    	if fi.Mode()&fs.ModeSymlink == 0 {
    		t.Errorf("%q should be a symlink", path)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 22:38:03 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/install_move_not_stale.txt

    # even when it's been moved to a different directory.
    # Simulate that by creating a symlink to the tree.
    
    # We use net instead of std because stale std has
    # the behavior of checking that all std targets
    # are stale rather than any of them.
    
    [!symlink] skip
    [short] skip
    
    go build net
    ! stale net
    
    symlink new -> $GOROOT
    env OLDGOROOT=$GOROOT
    env GOROOT=$WORK${/}gopath${/}src${/}new
    go env GOROOT
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 31 21:51:12 UTC 2022
    - 625 bytes
    - Viewed (0)
  8. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CacheTaskArchiveErrorIntegrationTest.groovy

            localCache.listCacheFailedFiles().size() == 1
        }
    
        @Requires(UnitTestPreconditions.Symlinks)
        @Issue("https://github.com/gradle/gradle/issues/9906")
        def "don't cache if task produces broken symlink"() {
            def link = file('root/link')
            buildFile << """
                import java.nio.file.*
                class ProducesLink extends DefaultTask {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/list_symlink_vendor_issue14054.txt

    [!symlink] skip
    env GO111MODULE=off
    
    mkdir $WORK/tmp/gopath/src/dir1/vendor/v
    cp p.go $WORK/tmp/gopath/src/dir1/p.go
    cp v.go $WORK/tmp/gopath/src/dir1/vendor/v/v.go
    symlink $WORK/tmp/symdir1 -> $WORK/tmp/gopath/src/dir1
    env GOPATH=$WORK/tmp/gopath
    cd $WORK/tmp/symdir1
    
    go list -f '{{.Root}}' .
    stdout '^'$WORK/tmp/gopath'$'
    
    # All of these should succeed, not die in vendor-handling code.
    go run p.go &
    go build &
    go install &
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 17 13:25:29 UTC 2020
    - 511 bytes
    - Viewed (0)
  10. hack/lib/init.sh

    # testone $T/linkdir/dir
    # testone $T/linkdir/linkfile
    # testone $T/linkdir/linkdir
    function kube::readlinkdashf {
      # run in a subshell for simpler 'cd'
      (
        if [[ -d "${1}" ]]; then # This also catch symlinks to dirs.
          cd "${1}"
          pwd -P
        else
          cd "$(dirname "${1}")"
          local f
          f=$(basename "${1}")
          if [[ -L "${f}" ]]; then
            readlink "${f}"
          else
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 16:18:38 UTC 2024
    - 6.2K bytes
    - Viewed (0)
Back to top