Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 162 for symlink2 (0.12 sec)

  1. pkg/volume/util/atomic_writer_test.go

    			if err != nil && os.IsNotExist(err) {
    				t.Fatalf("%v: visible symlink does not exist: %v", tc.name, visiblePath)
    			} else if err != nil {
    				t.Fatalf("%v: unable to read symlink %v: %v", tc.name, dataDirPath, err)
    			}
    
    			if expectedDest != destination {
    				t.Fatalf("%v: symlink destination %q not same with expected data dir %q", tc.name, destination, expectedDest)
    			}
    		}
    	}
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 09:02:45 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/unix/syscall_dragonfly.go

    //sysnb	Settimeofday(tp *Timeval) (err error)
    //sysnb	Setuid(uid int) (err error)
    //sys	Stat(path string, stat *Stat_t) (err error)
    //sys	Statfs(path string, stat *Statfs_t) (err error)
    //sys	Symlink(path string, link string) (err error)
    //sys	Symlinkat(oldpath string, newdirfd int, newpath string) (err error)
    //sys	Sync() (err error)
    //sys	Truncate(path string, length int64) (err error)
    //sys	Umask(newmask int) (oldmask int)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 10 16:32:44 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/sys/unix/syscall_openbsd.go

    //sysnb	Settimeofday(tp *Timeval) (err error)
    //sysnb	Setuid(uid int) (err error)
    //sys	Stat(path string, stat *Stat_t) (err error)
    //sys	Statfs(path string, stat *Statfs_t) (err error)
    //sys	Symlink(path string, link string) (err error)
    //sys	Symlinkat(oldpath string, newdirfd int, newpath string) (err error)
    //sys	Sync() (err error)
    //sys	Truncate(path string, length int64) (err error)
    //sys	Umask(newmask int) (oldmask int)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 29 21:28:33 UTC 2023
    - 11K bytes
    - Viewed (0)
  4. src/cmd/go/internal/search/search.go

    	}
    
    	for _, src := range cfg.BuildContext.SrcDirs() {
    		if (m.pattern == "std" || m.pattern == "cmd") && src != cfg.GOROOTsrc {
    			continue
    		}
    
    		// If the root itself is a symlink to a directory,
    		// we want to follow it (see https://go.dev/issue/50807).
    		// Add a trailing separator to force that to happen.
    		src = str.WithFilePathSeparator(filepath.Clean(src))
    		root := src
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 31 20:33:05 UTC 2023
    - 15.4K bytes
    - Viewed (0)
  5. pkg/volume/util/hostutil/hostutil_linux.go

    func (hu *HostUtil) PathExists(pathname string) (bool, error) {
    	return utilpath.Exists(utilpath.CheckFollowSymlink, pathname)
    }
    
    // EvalHostSymlinks returns the path name after evaluating symlinks.
    // TODO once the nsenter implementation is removed, this method can be removed
    // from the interface and filepath.EvalSymlinks used directly
    func (hu *HostUtil) EvalHostSymlinks(pathname string) (string, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 23 08:36:44 UTC 2023
    - 10K bytes
    - Viewed (0)
  6. guava/src/com/google/common/reflect/ClassPath.java

     *   <li>It assumes that <a href="https://github.com/google/guava/issues/3349">any class with a
     *       {@code $} in its name is a nested class</a>.
     * </ul>
     *
     * <h2>{@code ClassPath} and symlinks</h2>
     *
     * <p>In the case of directory classloaders, symlinks are supported but cycles are not traversed.
     * This guarantees discovery of each unique loadable resource. However, not all possible
     * aliases for resources on cyclic paths will be listed.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Jan 05 17:43:40 UTC 2022
    - 24.9K bytes
    - Viewed (0)
  7. src/cmd/go/internal/cfg/cfg.go

    			}
    
    			// Depending on what was passed on the command line, it is possible
    			// that os.Executable is a symlink (like /usr/local/bin/go) referring
    			// to a binary installed in a real GOROOT elsewhere
    			// (like /usr/lib/go/bin/go).
    			// Try to find that GOROOT by resolving the symlinks.
    			exe, err = filepath.EvalSymlinks(exe)
    			if err == nil {
    				if dir := filepath.Join(exe, "../.."); isGOROOT(dir) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 17:13:51 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/reflect/ClassPath.java

     *   <li>It assumes that <a href="https://github.com/google/guava/issues/3349">any class with a
     *       {@code $} in its name is a nested class</a>.
     * </ul>
     *
     * <h2>{@code ClassPath} and symlinks</h2>
     *
     * <p>In the case of directory classloaders, symlinks are supported but cycles are not traversed.
     * This guarantees discovery of each unique loadable resource. However, not all possible
     * aliases for resources on cyclic paths will be listed.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Jan 05 17:43:40 UTC 2022
    - 24.9K bytes
    - Viewed (0)
  9. pkg/volume/volume_linux_test.go

    			},
    		},
    		{
    			description: "symlink",
    			fsGroup:     &fsGroup,
    			setupFunc: func(path string) error {
    				filename := filepath.Join(path, "file.txt")
    				file, err := os.OpenFile(filename, os.O_RDWR|os.O_CREATE, 0755)
    				if err != nil {
    					return err
    				}
    				file.Close()
    
    				symname := filepath.Join(path, "file_link.txt")
    				err = os.Symlink(filename, symname)
    				if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 03 19:34:37 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  10. src/os/exec/lp_windows_test.go

    		default:
    			paths = append(paths, filepath.Join(root, d))
    		}
    	}
    	return strings.Join(paths, string(os.PathListSeparator))
    }
    
    // installProgs creates executable files (or symlinks to executable files) at
    // multiple destination paths. It uses root as prefix for all destination files.
    func installProgs(t *testing.T, root string, files []string) {
    	for _, f := range files {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 13 19:38:12 UTC 2023
    - 16.3K bytes
    - Viewed (0)
Back to top