Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for canMatchInModule (0.14 sec)

  1. src/cmd/go/internal/modget/query.go

    	if q.matchWildcard != nil && !gover.IsToolchain(path) {
    		return q.matchWildcard(path)
    	}
    	return path == q.pattern
    }
    
    // canMatchInModule reports whether the given module path can potentially
    // contain q.pattern.
    func (q *query) canMatchInModule(mPath string) bool {
    	if gover.IsToolchain(mPath) {
    		return false
    	}
    	if q.canMatchWildcardInModule != nil {
    		return q.canMatchWildcardInModule(mPath)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 27 15:48:25 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  2. src/cmd/go/internal/modget/get.go

    	// We want to match any packages in existing dependencies, but we only want to
    	// resolve new dependencies if nothing else turns up.
    	for _, curM := range r.buildList {
    		if !q.canMatchInModule(curM.Path) {
    			continue
    		}
    		q.pathOnce(curM.Path, func() pathSet {
    			if _, hit := r.noneForPath(curM.Path); hit {
    				// This module is being removed, so it will no longer be in the build list
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 18:26:32 UTC 2024
    - 66.5K bytes
    - Viewed (0)
Back to top