Skip to main content

network_disabled

Function network_disabled 

Source
pub fn network_disabled() -> bool
Expand description

Whether all network access is disabled via VCT_OFFLINE.

When set to a non-empty value the tool stays fully offline: the pricing fetch, the Cursor usage API, and the update check each skip the network and degrade to a cache/empty/local result. The integration tests set this (plus an isolated HOME) so cargo test never reaches an external API.