Skip to main content

check_for_updates

Function check_for_updates 

Source
pub async fn check_for_updates() -> Result<UpdateStatus, UpdateCheckError>
Expand description

Check whether a newer release is available.

Hits api.github.com/repos/ChivukulaVirinchi/photovault/releases/latest by default. Set SMRITI_GITHUB_API_URL (or the legacy PHOTOVAULT_GITHUB_API_URL) to override — used by integration tests to point at a local mock.