Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 66 for symlinks (0.13 sec)

  1. 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)
  2. src/os/file_unix.go

    	}
    	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 {
    	e := ignoringEINTR(func() error {
    		return syscall.Symlink(oldname, newname)
    	})
    	if e != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 13:52:34 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  3. src/os/file_plan9.go

    }
    
    // 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 {
    	return &LinkError{"symlink", oldname, newname, syscall.EPLAN9}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 30 15:35:30 UTC 2024
    - 16K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/README

    stop [msg]
    	stop execution of the script
    
    	The message is written to the script log, but no error is
    	reported from the script engine.
    
    symlink path -> target
    	create a symlink
    
    	Creates path as a symlink to target.
    	The '->' token (like in 'ls -l' output on Unix) is required.
    
    wait 
    	wait for completion of background commands
    
    	Waits for all background commands to complete.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  5. src/cmd/go/internal/work/shell.go

    		if err2 := os.RemoveAll(path); err2 != nil && err == nil {
    			err = err2
    		}
    	}
    	return err
    }
    
    // Symlink creates a symlink newname -> oldname.
    func (sh *Shell) Symlink(oldname, newname string) error {
    	// It's not an error to try to recreate an existing symlink.
    	if link, err := os.Readlink(newname); err == nil && link == oldname {
    		return nil
    	}
    
    	if cfg.BuildN || cfg.BuildX {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  6. src/cmd/go/internal/script/cmds.go

    	if s.msg == "" {
    		return "stop"
    	}
    	return "stop: " + s.msg
    }
    
    // Symlink creates a symbolic link.
    func Symlink() Cmd {
    	return Command(
    		CmdUsage{
    			Summary: "create a symlink",
    			Args:    "path -> target",
    			Detail: []string{
    				"Creates path as a symlink to target.",
    				"The '->' token (like in 'ls -l' output on Unix) is required.",
    			},
    		},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  7. 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)
  8. src/cmd/vendor/golang.org/x/sys/unix/syscall_freebsd.go

    //sysnb	Setsid() (pid int, err error)
    //sysnb	Settimeofday(tp *Timeval) (err error)
    //sysnb	Setuid(uid int) (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: Thu Mar 07 05:26:45 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  9. src/path/filepath/path_windows_test.go

    	}
    	test := EvalSymlinksTest{"test/linkabswin", tmpDir[:3]}
    
    	// Create the symlink farm using relative paths.
    	testdirs := append(EvalSymlinksTestDirs, test)
    	for _, d := range testdirs {
    		var err error
    		path := simpleJoin(tmpDir, d.path)
    		if d.dest == "" {
    			err = os.Mkdir(path, 0755)
    		} else {
    			err = os.Symlink(d.dest, path)
    		}
    		if err != nil {
    			t.Fatal(err)
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 20:38:54 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  10. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/internal/gcc/metadata/GccMetadataProvider.java

                        try {
                            realPath = realPath.toPath().toRealPath().toFile();
                        } catch (NoSuchFileException ignore) {
                            // resolve the potential symlink, if not found, fallback to do nothing.
                        }
                        builder.add(FileUtils.normalize(realPath));
                    }
                }
                return builder.build();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jan 15 06:39:06 UTC 2024
    - 13K bytes
    - Viewed (0)
Back to top