MCPcopy
hub / github.com/httpie/cli / fetch_updates

Function fetch_updates

httpie/internal/update_warnings.py:55–59  ·  view source on GitHub ↗
(env: Environment, lazy: bool = True)

Source from the content-addressed store, hash-verified

53
54
55def fetch_updates(env: Environment, lazy: bool = True):
56 if lazy:
57 spawn_daemon('fetch_updates')
58 else:
59 _fetch_updates(env)
60
61
62def maybe_fetch_updates(env: Environment) -> None:

Callers 2

cli_check_updatesFunction · 0.90
maybe_fetch_updatesFunction · 0.85

Calls 2

spawn_daemonFunction · 0.90
_fetch_updatesFunction · 0.85

Tested by

no test coverage detected