MCPcopy Create free account
hub / github.com/apache/nutch / delete

Method delete

src/java/org/apache/nutch/indexer/CleaningJob.java:154–159  ·  view source on GitHub ↗
(boolean commit)

Source from the content-addressed store, hash-verified

152 }
153
154 public int delete(boolean commit) throws Exception {
155 LOG.info("CleaningJob: starting");
156 run(ToolUtil.toArgMap(ARG_COMMIT, commit));
157 LOG.info("CleaningJob: done");
158 return 0;
159 }
160
161 public int run(String[] args) throws Exception {
162 if (args.length < 1) {

Callers 1

runMethod · 0.95

Calls 2

runMethod · 0.95
toArgMapMethod · 0.95

Tested by

no test coverage detected