Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for moveOrCopyFile (1.08 sec)

  1. src/cmd/go/internal/work/exec.go

    	dir, _ := filepath.Split(a.Target)
    	if dir != "" {
    		if err := sh.Mkdir(dir); err != nil {
    			return err
    		}
    	}
    
    	if !a.buggyInstall {
    		defer b.cleanup(a1)
    	}
    
    	return sh.moveOrCopyFile(a.Target, a1.built, perm, false)
    }
    
    // AllowInstall returns a non-nil error if this invocation of the go command is
    // allowed to install a.Target.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 14:46:37 UTC 2024
    - 105.6K bytes
    - Viewed (0)
Back to top