MCPcopy Index your code
hub / github.com/apache/groovy / enumerateGrapes

Method enumerateGrapes

src/main/java/groovy/grape/Grape.java:308–320  ·  view source on GitHub ↗

Enumerates locally available grapes. @return grapes grouped by organization and module

()

Source from the content-addressed store, hash-verified

306 * @return grapes grouped by organization and module
307 */
308 public static Map<String, Map<String, List<String>>> enumerateGrapes() {
309 Map<String, Map<String, List<String>>> grapes = null;
310 if (enableGrapes) {
311 GrapeEngine instance = getInstance();
312 if (instance != null) {
313 grapes = instance.enumerateGrapes();
314 }
315 }
316 if (grapes == null) {
317 return Collections.emptyMap();
318 }
319 return grapes;
320 }
321
322 /**
323 * Resolves dependency coordinates to URIs.

Callers

nothing calls this directly

Calls 2

getInstanceMethod · 0.95
enumerateGrapesMethod · 0.95

Tested by

no test coverage detected