MCPcopy Index your code
hub / github.com/vastsa/FileCodeBox / build_file_health_summary

Method build_file_health_summary

apps/admin/services.py:532–541  ·  view source on GitHub ↗
(
        self, file_codes: list[FileCodes], now: Optional[datetime] = None
    )

Source from the content-addressed store, hash-verified

530 summary["neverRetrievedCount"] += 1
531
532 async def build_file_health_summary(
533 self, file_codes: list[FileCodes], now: Optional[datetime] = None
534 ) -> dict[str, int]:
535 if now is None:
536 now = await get_now()
537 summary = self._empty_health_summary()
538 for file_code in file_codes:
539 item = await self._build_admin_file_item(file_code, now=now)
540 self._accumulate_health_summary(summary, item)
541 return summary
542
543 async def _build_admin_file_item(
544 self, file_code: FileCodes, now: Optional[datetime] = None

Callers 1

dashboardFunction · 0.80

Calls 4

_empty_health_summaryMethod · 0.95
get_nowFunction · 0.90

Tested by

no test coverage detected