Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for MatchInModule (0.1 sec)

  1. src/cmd/go/internal/modload/search.go

    				}
    			}
    		}
    	})
    }
    
    // MatchInModule identifies the packages matching the given pattern within the
    // given module version, which does not need to be in the build list or module
    // requirement graph.
    //
    // If m is the zero module.Version, MatchInModule matches the pattern
    // against the standard library (std and cmd) in GOROOT/src.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 17:55:15 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  2. src/cmd/go/internal/modget/get.go

    		}
    		return modload.CheckAllowed(ctx, m)
    	}
    }
    
    // matchInModule is a caching wrapper around modload.MatchInModule.
    func (r *resolver) matchInModule(ctx context.Context, pattern string, m module.Version) (packages []string, err error) {
    	return r.matchInModuleCache.Do(matchInModuleKey{pattern, m}, func() ([]string, error) {
    		match := modload.MatchInModule(ctx, pattern, m, imports.AnyTags())
    		if len(match.Errs) > 0 {
    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