const require_rolldown_runtime = require('../_virtual/rolldown_runtime.cjs');
let node_fs = require("node:fs");

//#region src/utils/checkLastUpdateTime.ts
/**
* Returns the last modification date of a file.
*
* @param filePath - Absolute or relative path to the file to inspect.
* @returns Date instance representing the file's last modified time (mtime).
* @throws Will propagate any error thrown by fs.statSync (e.g., file not found).
*/
const checkLastUpdateTime = (filePath) => {
	const stats = (0, node_fs.statSync)(filePath);
	return new Date(stats.mtime);
};

//#endregion
exports.checkLastUpdateTime = checkLastUpdateTime;
//# sourceMappingURL=checkLastUpdateTime.cjs.map