Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 135 for symlink2 (0.12 sec)

  1. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/internal/tools/ToolSearchPath.java

                File symlink = maybeResolveCygwinSymlink(symlinkCandidate);
                if (symlink != null) {
                    return symlink;
                }
            }
            return null;
        }
    
        private File maybeResolveCygwinSymlink(File symlink) throws IOException {
            if (!symlink.isFile()) {
                return null;
            }
            if (symlink.length() <= 11) {
                return null;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/api/tasks/Delete.java

        }
    
        /**
         * Returns if symlinks should be followed when doing a delete.
         *
         * @return true if symlinks will be followed.
         */
        @Input
        public boolean isFollowSymlinks() {
            return followSymlinks;
        }
    
        /**
         * Set if symlinks should be followed. If the platform doesn't support symlinks, then this will have no effect.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Oct 24 23:13:41 UTC 2022
    - 4K bytes
    - Viewed (0)
  3. platforms/core-runtime/native/src/test/groovy/org/gradle/internal/nativeintegration/filesystem/services/GenericFileSystemTest.groovy

        def symlink = Stub(Symlink)
        def fileMetadataAccessor = Stub(FileMetadataAccessor)
        def statistics = Mock(StatStatistics.Collector)
        def fileSystemFactory = new GenericFileSystem.Factory(fileMetadataAccessor, statistics, TestFiles.tmpDirTemporaryFileProvider(temporaryFolder.testDirectory))
        def fileSystem = fileSystemFactory.create(fileModeMutator, fileModeAccessor, symlink)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:50:56 UTC 2024
    - 3K bytes
    - Viewed (0)
  4. 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)
  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/launcher/src/test/groovy/org/gradle/launcher/daemon/context/DaemonCompatibilitySpecSpec.groovy

            expect:
            !compatible
            unsatisfiedReason.contains "JVM is incompatible"
        }
    
        @Requires(UnitTestPreconditions.Symlinks)
        def "contexts with symlinked javaHome are compatible"() {
            def linkToJdk = tmp.testDirectory.file("link")
            linkToJdk.createLink(javaHome)
    
            assert javaHome != linkToJdk
            assert linkToJdk.exists()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 00:09:57 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top