Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. src/net/http/pattern.go

    	// than the remainder of the longer pattern, so combine those two relationships.
    	if len(segs1) < len(segs2) && p1.lastSegment().multi {
    		return combineRelationships(rel, moreGeneral)
    	}
    	if len(segs2) < len(segs1) && p2.lastSegment().multi {
    		return combineRelationships(rel, moreSpecific)
    	}
    	return disjoint
    }
    
    // compareSegments determines the relationship between two segments.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 16:36:30 UTC 2024
    - 15.3K bytes
    - Viewed (0)
Back to top