Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 65 for symlink2 (1.16 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/api/file/FileCollectionSymlinkIntegrationTest.groovy

                def symlink = new File(baseDir, "symlink")
                def symlinked = new File(baseDir, "symlinked")
                def fileCollection = $code
    
                assert fileCollection.contains(file)
                assert fileCollection.contains(symlink)
                assert fileCollection.contains(symlinked)
                assert fileCollection.files == [file, symlink, symlinked] as Set
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  2. pkg/volume/util/atomic_writer.go

    //
    // The visible files in this volume are symlinks to files in the writer's data
    // directory.  Actual files are stored in a hidden timestamped directory which
    // is symlinked to by the data directory. The timestamped directory and
    // data directory symlink are created in the writer's target dir.  This scheme
    // allows the files to be atomically updated by changing the target of the
    // data directory symlink.
    //
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 12:32:15 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  3. 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)
  4. src/os/file_windows.go

    		return &LinkError{"link", oldname, newname, err}
    	}
    	return nil
    }
    
    // Symlink creates newname as a symbolic link to oldname.
    // On Windows, a symlink to a non-existent oldname creates a file symlink;
    // if oldname is later created as a directory the symlink will not work.
    // If there is an error, it will be of type *LinkError.
    func Symlink(oldname, newname string) error {
    	// '/' does not work in link's content
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 30 15:38:38 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  5. src/os/os_windows_test.go

    		}
    		var wantType fs.FileMode
    		if test.isMountPoint && winsymlink.Value() != "0" {
    			// Mount points are reparse points, and we no longer treat them as symlinks.
    			wantType = fs.ModeIrregular
    		} else {
    			// This is either a real symlink, or a mount point treated as a symlink.
    			wantType = fs.ModeSymlink
    		}
    		if tp := fi2.Mode().Type(); tp != wantType {
    			t.Errorf("Lstat(%q) is type %v; want %v", link, tp, wantType)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 41.8K bytes
    - Viewed (0)
  6. src/os/types_windows.go

    	// that refer to directories, such as symlinks and mount points.
    	// However, we follow symlink POSIX semantics and do not set the mode bits.
    	// This allows users to walk directories without following links
    	// by just calling "fi, err := os.Lstat(name); err == nil && fi.IsDir()".
    	// Note that POSIX only defines the semantics for symlinks, not for
    	// mount points or other surrogate reparse points, but we treat them
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:44:48 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  7. src/path/filepath/path_test.go

    	// Create "link" in the current working directory as a symlink to an arbitrary
    	// absolute path. On macOS, this path is likely to begin with a symlink
    	// itself: generally either in /var (symlinked to "private/var") or /tmp
    	// (symlinked to "private/tmp").
    	if err := os.Symlink(tmpDir, "link"); err != nil {
    		t.Fatal(err)
    	}
    	t.Logf(`os.Symlink(%q, "link")`, tmpDir)
    
    	p, err := filepath.EvalSymlinks("link")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 22 16:38:19 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  8. src/syscall/syscall_linux_test.go

    	}
    
    	err = os.Symlink("file1", "symlink1")
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	err = syscall.Faccessat(_AT_FDCWD, "symlink1", _R_OK, _AT_SYMLINK_NOFOLLOW)
    	if err != nil {
    		t.Errorf("Faccessat SYMLINK_NOFOLLOW: unexpected error %v", err)
    	}
    
    	// We can't really test _AT_SYMLINK_NOFOLLOW, because there
    	// doesn't seem to be any way to change the mode of a symlink.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 23K bytes
    - Viewed (0)
  9. pkg/kubelet/kuberuntime/kuberuntime_gc.go

    						// Hence the symlink may be deemed unhealthy during that period.
    						// See https://github.com/kubernetes/kubernetes/issues/52172
    						//
    						// We only remove unhealthy symlink for dead containers
    						klog.V(5).InfoS("Container is still running, not removing symlink", "containerID", containerID, "path", logSymlink)
    						continue
    					}
    				}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/phases/controlplane/volumes.go

    	// On some systems where we host-mount /etc/ssl/certs, it is also required to mount additional directories.
    	// This is needed due to symlinks pointing from files in /etc/ssl/certs to these directories.
    	for _, caCertsExtraVolumePath := range caCertsExtraVolumePaths {
    		if isExtraVolumeMountNeeded(caCertsExtraVolumePath) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 09:33:18 UTC 2024
    - 11.3K bytes
    - Viewed (0)
Back to top