Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for cwd (0.14 sec)

  1. misc/ios/go_ios_exec.go

    	}
    	cwd, err = filepath.EvalSymlinks(cwd)
    	if err != nil {
    		log.Fatal(err)
    	}
    	goroot, err := filepath.EvalSymlinks(runtime.GOROOT())
    	if err != nil {
    		return "", false, err
    	}
    	if strings.HasPrefix(cwd, goroot) {
    		subdir, err := filepath.Rel(goroot, cwd)
    		if err != nil {
    			return "", false, err
    		}
    		return subdir, true, nil
    	}
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Apr 11 16:34:30 GMT 2022
    - 23.4K bytes
    - Viewed (0)
Back to top