Skip to main content

cached_stars

Function cached_stars 

Source
pub fn cached_stars(year: usize) -> Result<Option<StarSnapshot>, StarSyncError>
Expand description

Loads the saved snapshot for the effective account without network access.

A missing session or an unknown local account binding returns no snapshot.

ยงErrors

Returns an error if session resolution, the account binding, or the stored snapshot cannot be read.