Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 513 for sh_link (0.21 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/api/file/FileCollectionSymlinkIntegrationTest.groovy

            def symlinked = baseDir.file('symlinked')
            symlinked.text = 'target of symlink'
            baseDir.file('symlink').createLink(symlinked)
    
            buildScript << """
                def baseDir = new File("${escapeString(baseDir)}")
                def file = new File(baseDir, "file")
                def symlink = new File(baseDir, "symlink")
                def symlinked = new File(baseDir, "symlinked")
                def fileCollection = $code
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/list_symlink_dotdotdot.txt

    [!symlink] skip
    
    symlink $WORK/gopath/src/sym -> $WORK/gopath/src/tree
    symlink $WORK/gopath/src/tree/squirrel -> $WORK/gopath/src/dir2 # this symlink should not be followed
    cd sym
    go list ./...
    cmp stdout $WORK/gopath/src/want_list.txt
    -- tree/go.mod --
    module example.com/tree
    
    go 1.20
    -- tree/tree.go --
    package tree
    -- tree/branch/branch.go --
    package branch
    -- dir2/squirrel.go --
    package squirrel
    -- want_list.txt --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 31 20:33:05 UTC 2023
    - 463 bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/embed.txt

    cp x.txt .git
    ! go build -x
    stderr '^x.go:5:12: pattern [*]t: cannot embed file [.]git: invalid name [.]git$'
    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$'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 09 18:03:59 UTC 2021
    - 2.3K bytes
    - Viewed (0)
  4. pkg/volume/util/subpath/subpath_windows_test.go

    			subPath:       filepath.Join(testingVolumePath, `symlink`),
    			expectError:   false,
    			symlinkTarget: base,
    		},
    		{
    			volumePath:    testingVolumePath,
    			subPath:       filepath.Join(testingVolumePath, `symlink\c\d`),
    			expectError:   true,
    			symlinkTarget: "",
    		},
    		{
    			volumePath:    testingVolumePath,
    			subPath:       filepath.Join(testingVolumePath, `symlink\y926`),
    			expectError:   true,
    			symlinkTarget: "",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 13.8K bytes
    - Viewed (0)
  5. platforms/core-runtime/native/src/main/java/org/gradle/internal/nativeintegration/filesystem/jdk7/Jdk7Symlink.java

    import org.gradle.api.internal.file.temp.TemporaryFileProvider;
    import org.gradle.internal.nativeintegration.filesystem.Symlink;
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    import java.io.File;
    import java.io.IOException;
    import java.nio.file.Files;
    import java.nio.file.Path;
    
    public class Jdk7Symlink implements Symlink {
        private static final Logger LOGGER = LoggerFactory.getLogger(Jdk7Symlink.class);
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:06:40 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/tools/ToolSearchPathTest.groovy

            result.tool == file
        }
    
        def "resolves cygwin symlinks on Windows"() {
            def file = tmpDir.createFile("cc.bin")
            def symlink = tmpDir.file("cc")
    
            given:
            symlink.setText("!<symlink>cc.bin\u0000", "utf-8")
            os.path >> [symlink.parentFile]
            os.windows >> true
    
            when:
            def result = registry.locate(ToolType.C_COMPILER, "cc")
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top