import{existsSync as o}from"fs";import{logger as i}from"../../server/tools/notifiers/logger.js";function l(r,e=!1){return o(r)?(e?i.warn(`File "${r}" will be overwritten.`):i.panicOnContentError(`File "${r}" already exists. Use --force [-f] option to override.`),e):!0}export{l as isValidFilePath};
