Skip to main content

warn_if_pagination_truncated

Function warn_if_pagination_truncated 

Source
pub fn warn_if_pagination_truncated(
    ecosystem: &str,
    name: &str,
    page: u32,
    page_len: usize,
)
Expand description

Logs a warning when tag pagination for name stops at MAX_TAG_PAGES while GitHub still had more pages available (page_has_more(page_len)).

A thin, GitHub-specific wrapper over crate::pagination::warn_if_pagination_truncated (provider "GitHub", cap MAX_TAG_PAGES) kept so every existing call site’s warning text stays byte-identical after the #472/GitLab-CI-plan §4.4 extraction. ecosystem names the caller (e.g. "Swift", "GitHub Actions") in the warning text.