function statSafeSync(filePath) {
	try {
		return fs.statSync(filePath);
	} catch (error) {
		/* c8 ignore next */
		if (error.code !== "ENOENT") {
			throw error;
		}
		return null;
	}
}
Get stats of a given path.
@param {string} filePath The path to target file.
@throws {Error} As may be thrown by `fs.statSync`.
@returns {fs.Stats|null} The stats.
@private