MCPcopy Create free account
hub / github.com/BombusMod/BombusMod / findBlock

Method findBlock

src/main/java/History/HistoryLoader.java:308–314  ·  view source on GitHub ↗
(String source, String needle)

Source from the content-addressed store, hash-verified

306 }
307
308 private String findBlock(String source, String needle) {
309 int start = source.indexOf("<"+needle+">");
310 int end = source.indexOf("</"+needle+">",start);
311 if (start<0 || end<0)
312 return null;
313 return source.substring(start+needle.length()+2, end);
314 }
315}
316
317//#endif

Callers 1

getMIVectorMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected