Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for SplitList (0.08 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)
  2. api/go1.txt

    pkg path/filepath, func Match(string, string) (bool, error)
    pkg path/filepath, func Rel(string, string) (string, error)
    pkg path/filepath, func Split(string) (string, string)
    pkg path/filepath, func SplitList(string) []string
    pkg path/filepath, func ToSlash(string) string
    pkg path/filepath, func VolumeName(string) string
    pkg path/filepath, func Walk(string, WalkFunc) error
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
Back to top