pub fn validate_input_path( path: &Path, max_size: u64, allow_symlinks: bool, ) -> Result<(), Error>
Validate that an input path is a regular file (not a symlink, FIFO, etc.) and within the configured size limit.