use of org.opengrok.indexer.web.EftarFile in project OpenGrok by OpenGrok.
the class SystemController method loadPathDescriptions.
@POST
@Path("/pathdesc")
@Consumes(MediaType.APPLICATION_JSON)
public void loadPathDescriptions(@Valid final PathDescription[] descriptions) throws IOException {
EftarFile ef = new EftarFile();
ef.create(Set.of(descriptions), env.getDtagsEftarPath().toString());
LOGGER.log(Level.INFO, "reloaded path descriptions with {0} entries", descriptions.length);
}