Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for lineExcludeLess (0.11 sec)

  1. src/cmd/vendor/golang.org/x/mod/modfile/rule.go

    		if li.Token[k] != lj.Token[k] {
    			return li.Token[k] < lj.Token[k]
    		}
    	}
    	return len(li.Token) < len(lj.Token)
    }
    
    // lineExcludeLess reports whether li should be sorted before lj for lines in
    // an "exclude" block.
    func lineExcludeLess(li, lj *Line) bool {
    	if len(li.Token) != 2 || len(lj.Token) != 2 {
    		// Not a known exclude specification.
    		// Fall back to sorting lexicographically.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 18:34:56 UTC 2024
    - 46.5K bytes
    - Viewed (0)
Back to top