Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 152 for symlink2 (0.27 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. pkg/filewatcher/filewatcher_test.go

    	err = os.WriteFile(realTestFile, []byte("foo: bar\n"), 0o640)
    	g.Expect(err).NotTo(HaveOccurred())
    
    	// Now, symlink the tmp `data1` dir to `data` in the baseDir
    	os.Symlink(dataDir1, path.Join(watchDir, "data"))
    	// And link the `<watchdir>/datadir/test.conf` to `<watchdir>/test.conf`
    	watchFile := path.Join(watchDir, "test.conf")
    	os.Symlink(path.Join(watchDir, "data", "test.conf"), watchFile)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 31 14:48:28 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  9. platforms/core-configuration/file-collections/src/testFixtures/groovy/org/gradle/api/internal/file/collections/AbstractDirectoryWalkerTest.groovy

                    subDir.mkdirs()
                    generateFilesAndSubDirectories(subDir, fileCount, dirCount, maxDepth, currentDepth + 1, fileIdGenerator)
                }
            }
        }
    
        @Requires(UnitTestPreconditions.Symlinks)
        def "symbolic links for directories are handled properly - walker: #walkerInstance.class.simpleName"() {
            given:
            def rootDir = tmpDir.createDir("root")
            def dir = rootDir.createDir("a/b")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 7K bytes
    - Viewed (0)
  10. src/os/path_test.go

    	t.Parallel()
    
    	tmpDir := t.TempDir()
    	dir := tmpDir + "/dir"
    	if err := Mkdir(dir, 0755); err != nil {
    		t.Fatalf("Mkdir %s: %s", dir, err)
    	}
    
    	link := tmpDir + "/link"
    	if err := Symlink("dir", link); err != nil {
    		t.Fatalf("Symlink %s: %s", link, err)
    	}
    
    	path := link + "/foo"
    	if err := MkdirAll(path, 0755); err != nil {
    		t.Errorf("MkdirAll %q: %s", path, err)
    	}
    }
    
    func TestMkdirAllAtSlash(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 19 20:45:37 UTC 2023
    - 3K bytes
    - Viewed (0)
Back to top