public PluginFiles(ScannerWsClient wsClient, Configuration configuration) { this.wsClient = wsClient; File home = locateHomeDir(configuration); this.cacheDir = mkdir(new File(home, "cache"), "user cache"); this.tempDir = mkdir(new File(home, "_tmp"), "temp dir"); LOGGER.info("User cache: {}", cacheDir.getAbsolutePath()); }
public PluginFiles(ScannerWsClient wsClient, Configuration configuration) { this.wsClient = wsClient; File home = locateHomeDir(configuration); this.cacheDir = mkdir(new File(home, "cache"), "user cache"); this.tempDir = mkdir(new File(home, "_tmp"), "temp dir"); LOGGER.info("User cache: {}", cacheDir.getAbsolutePath()); }