Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 385 for symlink2 (0.14 sec)

  1. platforms/core-runtime/files/src/main/java/org/gradle/internal/file/Deleter.java

         *
         * <ul>
         *     <li>a directory, then its contents are removed recursively,</li>
         *     <li>a file or a symlink, then it is deleted and a directory is created in its place,</li>
         *     <li>non-existent, then a directory is created in its place.</li>
         * </ul>
         *
         * Does not follow symlinks.
         *
         * @return {@code true} if anything was removed, {@code false} if no change was
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  2. 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)
  3. platforms/core-runtime/native/src/main/java/org/gradle/internal/nativeintegration/filesystem/jdk7/WindowsJdk7Symlink.java

    import java.nio.file.Files;
    import java.nio.file.LinkOption;
    import java.nio.file.attribute.BasicFileAttributes;
    
    /**
     * Represents the Symlink facilities available on JDK 7 or better on Windows.
     * <p>
     * This subclass is used so that we don't accidentally start creating Symlinks
     * on Windows where it is often not safe to assume that a normal user will
     * have permission to use them.
     */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:06:40 UTC 2023
    - 2K bytes
    - Viewed (0)
  4. platforms/core-runtime/files/src/test/groovy/org/gradle/internal/file/impl/DefaultDeleterTest.groovy

            linked.assertIsEmptyDir()
            Files.readSymbolicLink(target.toPath()) == linked.toPath()
            content.assertDoesNotExist()
        }
    
        @Requires(UnitTestPreconditions.Symlinks)
        def "recreates target directory when symlink is found, leaving linked content untouched"() {
            def linked = tmpDir.createDir("linked")
            def content = linked.createFile("content.txt")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 09 12:40:48 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  5. src/internal/testenv/testenv_notwin.go

    	case "plan9":
    		return false, ""
    	case "android", "wasip1":
    		// For wasip1, some runtimes forbid absolute symlinks,
    		// or symlinks that escape the current working directory.
    		// Perform a simple test to see whether the runtime
    		// supports symlinks or not. If we get a permission
    		// error, the runtime does not support symlinks.
    		dir, err := os.MkdirTemp("", "")
    		if err != nil {
    			return false, ""
    		}
    		defer func() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 02 05:22:00 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/mod_symlink.txt

    env GO111MODULE=on
    [!symlink] skip
    
    # 'go get' should resolve modules of imported packages.
    go get
    go list -deps -f '{{.Module}}' .
    stdout golang.org/x/text
    
    go get ./subpkg
    go list -deps -f '{{.Module}}' ./subpkg
    stdout golang.org/x/text
    
    # Create a copy of the module using symlinks in src/links.
    mkdir links
    symlink links/go.mod -> $GOPATH/src/go.mod
    symlink links/go.sum -> $GOPATH/src/go.sum
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:14 UTC 2021
    - 1.1K bytes
    - Viewed (0)
  7. 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)
  8. 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 {
            throw new IOException("Creation of symlinks is not supported on this platform.");
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:06:40 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  9. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/tools/ToolSearchPathTest.groovy

            then:
            result.available
            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:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/mod_tidy_symlink_issue35941.txt

    env GO111MODULE=on
    [!symlink] skip
    
    cd m
    symlink symlink -> ../outside
    
    cp go.mod go.mod.orig
    
    # Issue 35941: suppress symlink warnings when running 'go mod tidy'.
    # 'go mod tidy' should not scan packages in symlinked subdirectories.
    go mod tidy
    ! stderr 'warning: ignoring symlink'
    cmp go.mod go.mod.orig
    
    ! go build ./symlink
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 27 18:17:01 UTC 2021
    - 898 bytes
    - Viewed (0)
Back to top