https://github.com/apache/airflow/blob/main/airflow/dag_processing/manager.py#L773
"""
        Retrieve the last processing time of a specific path.
        :param file_path: the path to the file that was processed
        :return: the runtime (in seconds) of the process of the last run, or
            None if the file was never processed.
        """
        stat = self._file_stats.get(file_path)
        return stat.last_duration.total_seconds() if stat and stat.last_duration else None
    def get_last_dag_count(self, file_path) -> int | None:
        """
        Retrieve the total DAG count at a specific path.
        :param file_path: the path to the file that was processed
        :return: the number of dags loaded from that file, or None if the file
            was never processed.
        """
        stat = self._file_stats.get(file_path)
        return stat.num_dags if stat else None
    def get_last_error_count(self, file_path) -> int | None:
        """
        Retrieve the total number of errors from processing a specific path.
        :param file_path: the path to the file that was processed
        :return: the number of import errors from processing, or None if the file
            was never processed.
        """
        stat = self._file_stats.get(file_path)
        return stat.import_errors if stat else None
    def get_last_finish_time(self, file_path) -> datetime | None: