Skip to main content

parse_cache

Function parse_cache 

Source
pub fn parse_cache(
    bytes: &[u8],
    account: Option<&str>,
) -> Result<AntigravitySnapshot>
Expand description

account is the fingerprint of the currently signed-in account, or None when no local server answered. A payload belonging to a different account is rejected so a Google-account switch cannot show the previous account’s quota. With None we cannot verify — but nothing is consuming quota while Antigravity is down, so the last known figures are the best available truth.