Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for splitList (0.04 sec)

  1. misc/ios/go_ios_exec.go

    	}
    	if strings.HasPrefix(cwd, goroot) {
    		subdir, err := filepath.Rel(goroot, cwd)
    		if err != nil {
    			return "", false, err
    		}
    		return subdir, true, nil
    	}
    
    	for _, p := range filepath.SplitList(build.Default.GOPATH) {
    		pabs, err := filepath.EvalSymlinks(p)
    		if err != nil {
    			return "", false, err
    		}
    		if !strings.HasPrefix(cwd, pabs) {
    			continue
    		}
    		subdir, err := filepath.Rel(pabs, cwd)
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Jun 18 16:32:49 UTC 2024
    - 8.7K bytes
    - Viewed (0)
Back to top