src/log-watcher.js
function isCommanderLog(fpath) {
	const base = path.basename(fpath);
	return base.indexOf('Journal.') === 0 && path.extname(fpath) === '.log';
}
function isCommanderLog(fpath) {
	const base = path.basename(fpath);
	return base.indexOf('Journal.') === 0 && path.extname(fpath) === '.log';
}
function isCommanderLog ( fpath ) { const base = path . basename ( fpath ) ; return base . indexOf ( 'Journal.' ) === 0 && path . extname ( fpath ) === '.log' ; }
Get the path of the logs.
@param fpath {string} Path to check.
@returns {boolean} True if the directory contains journal files.
Get the path of the logs .