Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. src/os/executable_path.go

    	}
    	mode := stat.Mode()
    	if !mode.IsRegular() {
    		return ErrPermission
    	}
    	if (mode & 0111) == 0 {
    		return ErrPermission
    	}
    	return nil
    }
    
    // splitPathList splits a path list.
    // This is based on genSplit from strings/strings.go
    func splitPathList(pathList string) []string {
    	if pathList == "" {
    		return nil
    	}
    	n := 1
    	for i := 0; i < len(pathList); i++ {
    		if pathList[i] == PathListSeparator {
    			n++
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 2.3K bytes
    - Viewed (0)
Back to top