Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 385 for symlink2 (0.2 sec)

  1. subprojects/core/src/test/groovy/org/gradle/api/internal/file/BaseDirFileResolverSpec.groovy

        }
    
        @Requires(UnitTestPreconditions.Symlinks)
        def "normalizes path which points to a link to something that does not exist"() {
            def file = new File(tmpDir.testDirectory, 'a/other.txt')
            createLink(file, 'unknown.txt')
            assert !file.exists() && !file.file
    
            expect:
            normalize(file) == file
        }
    
        @Requires(UnitTestPreconditions.Symlinks)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 20 11:15:22 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  2. src/testing/fstest/testfs.go

    	file.Close()
    	if err != nil {
    		t.errorf("%s: Stat: %w", path, err)
    		return
    	}
    	fentry := formatEntry(entry)
    	fientry := formatInfoEntry(info)
    	// Note: mismatch here is OK for symlink, because Open dereferences symlink.
    	if fentry != fientry && entry.Type()&fs.ModeSymlink == 0 {
    		t.errorf("%s: mismatch:\n\tentry = %s\n\tfile.Stat() = %s", path, fentry, fientry)
    	}
    
    	einfo, err := entry.Info()
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  3. src/os/exec/exec_posix_test.go

    		// something totally bogus (or the empty string), but then we would have no
    		// idea what output the subprocess should actually produce: cwd itself may
    		// contain symlinks preserved from the PWD value in the test's environment.
    	}
    	for _, tc := range cases {
    		tc := tc
    		t.Run(tc.name, func(t *testing.T) {
    			t.Parallel()
    
    			cmd := helperCommand(t, "pwd")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 13 20:21:32 UTC 2022
    - 6.8K bytes
    - Viewed (0)
  4. platforms/core-runtime/files/src/main/java/org/gradle/internal/file/impl/DefaultDeleter.java

            StringBuilder help = new StringBuilder("Unable to delete ");
            if (isSymlink.test(file)) {
                help.append("symlink to ");
            }
            if (file.isDirectory()) {
                help.append("directory ");
            } else {
                help.append("file ");
            }
            help.append('\'').append(file).append('\'');
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 15 17:10:06 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  5. platforms/core-runtime/native/src/main/java/org/gradle/internal/nativeintegration/filesystem/services/NativePlatformBackedFileMetadataAccessor.java

            }
            AccessType accessType = AccessType.viaSymlink(stat.getType() == FileInfo.Type.Symlink);
            if (accessType == AccessType.VIA_SYMLINK) {
                try {
                    stat = files.stat(f, true);
                } catch (NativeException e) {
                    // For a symlink cycle, file.exists() returns false when unable to stat the file.
                    if (!f.exists()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:50:55 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  6. doc/next/6-stdlib/99-minor/os/61893.md

    On Windows, the mode bits reported by [Lstat] and [Stat] for
    reparse points changed. Mount points no longer have [ModeSymlink] set,
    and reparse points that are not symlinks, Unix sockets, or dedup files
    now always have [ModeIrregular] set.
    This behavior is controlled by the `winsymlink` setting.
    For Go 1.23, it defaults to `winsymlink=1`.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 12 20:57:18 UTC 2024
    - 386 bytes
    - Viewed (0)
  7. platforms/core-runtime/native/src/main/java/org/gradle/internal/nativeintegration/filesystem/FileSystem.java

         * @exception FileException if the operation fails
         */
        void createSymbolicLink(File link, File target) throws FileException;
    
        /**
         * Tells if the file is a symlink
         *
         * @param suspect the file to check
         * @return true if symlink, false otherwise
         */
        boolean isSymlink(File suspect);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  8. hack/verify-no-vendor-cycles.sh

    # Check for any vendored package that imports main repo
    # Staging repos are explicitly excluded even though go list does not currently consider symlinks
    go run cmd/dependencycheck/dependencycheck.go -restrict "^k8s\.io/kubernetes/" -exclude "^k8s\.io/(${staging_repos_pattern})(/|$)" "${KUBE_TEMP}/deps_other.json"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:56 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  9. platforms/jvm/language-java/src/integTest/groovy/org/gradle/java/compile/incremental/JavaSourceIncrementalCompilationIntegrationTest.groovy

            result.assertHasErrorOutput("package java.util.logging is not visible")
        }
    
        @Requires(UnitTestPreconditions.Symlinks)
        @Issue("https://github.com/gradle/gradle/issues/9202")
        def "source mapping file works with symlinks"() {
            // Daemon cleans up symlinks in VFS
            executer.requireDaemon()
            executer.requireIsolatedDaemons()
    
            given:
            buildFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 25 17:44:34 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  10. apache-maven/src/assembly/shared/mvnvalidate

    ## resolve links - $0 may be a link to Maven's home
    PRG="$0"
    
    # need this for relative symlinks
    while [ -h "$PRG" ] ; do
      ls=`ls -ld "$PRG"`
      link=`expr "$ls" : '.*-> \(.*\)$'`
      if expr "$link" : '/.*' > /dev/null; then
        PRG="$link"
      else
        PRG="`dirname "$PRG"`/$link"
      fi
    done
    
    saveddir=`pwd`
    
    MAVEN_HOME=`dirname "$PRG"`/..
    
    # make it fully qualified
    MAVEN_HOME=`cd "$MAVEN_HOME" && pwd`
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sat May 23 07:59:32 UTC 2020
    - 418 bytes
    - Viewed (0)
Back to top