Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 513 for sh_link (0.28 sec)

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

    import org.gradle.internal.nativeintegration.filesystem.Symlink;
    
    import java.io.File;
    import java.io.IOException;
    
    class UnsupportedSymlink implements Symlink {
        @Override
        public boolean isSymlinkCreationSupported() {
            return false;
        }
    
        @Override
        public void symlink(File link, File target) throws IOException {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:06:40 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  2. platforms/core-runtime/native/src/main/java/org/gradle/internal/nativeintegration/filesystem/services/WindowsSymlink.java

    import org.gradle.internal.nativeintegration.filesystem.Symlink;
    
    import java.io.File;
    import java.io.IOException;
    
    class WindowsSymlink implements Symlink {
        @Override
        public boolean isSymlinkCreationSupported() {
            return false;
        }
    
        @Override
        public void symlink(File link, File target) throws IOException {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:06:40 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. src/cmd/go/testdata/script/mod_symlink_dotgo.txt

    env GO111MODULE=on
    [!symlink] skip
    
    symlink dir.go -> dir
    
    # Issue #39841: symlinks to directories should be ignored, not treated as source files.
    go list -f '{{range .GoFiles}}{{.}}{{"\n"}}{{end}}' .
    stdout 'p\.go$'
    ! stdout 'dir\.go$'
    
    -- go.mod --
    module example.com
    go 1.15
    -- p.go --
    package p
    -- dir/README.txt --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 25 03:29:25 UTC 2020
    - 372 bytes
    - Viewed (0)
  6. 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)
    
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:50:56 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/build_cwd_newline.txt

    # not resolve symlinks unnecessarily, referring to the contents of the unsafe
    # directory via a safe symlink should be ok, and should not inject the data from
    # the symlink target path.
    
    [!symlink] stop 'remainder of test checks symlink behavior'
    [short] stop 'links and runs binaries'
    
    symlink $WORK${/}link -> $DIR
    
    [cgo] go run $WORK${/}link${/}main.go
    [!cgo] go run $WORK${/}link${/}main_nocgo.go
    ! stdout panic
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 07 16:54:27 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  8. 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)
  9. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/IncrementalBuildSymlinkHandlingIntegrationTest.groovy

    class IncrementalBuildSymlinkHandlingIntegrationTest extends AbstractIntegrationSpec implements ValidationMessageChecker {
        def setup() {
            expectReindentedValidationMessage()
    
            // Must run on isolated daemons so that symlink data can be properly cleaned up between builds
            executer.requireDaemon()
            executer.requireIsolatedDaemons()
    
            buildFile << """
    // This is a workaround to bust the JVM's file canonicalization cache
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 01 14:30:36 UTC 2024
    - 8K bytes
    - Viewed (0)
  10. platforms/core-runtime/files/src/main/java/org/gradle/internal/file/FileMetadata.java

         *
         * If we have a symlink situation like `symlink1` -&gt; `symlink2` -&gt; `target`,
         * then the metadata for `symlink1` will have an access type {@link AccessType#VIA_SYMLINK}
         * and the metadata of `target`, i.e. the accessor will resolve transitive symlinks.
         *
         * If the directory `symlinkedDir` -&gt; `targetDir` is a symlink, then the
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:55:52 UTC 2023
    - 2.2K bytes
    - Viewed (0)
Back to top