MCPcopy Create free account
hub / github.com/WavesMan/Disable-automatic-Windows-update / pause_updates

Function pause_updates

python/core/main.py:74–77  ·  view source on GitHub ↗
(max_days: int = 18300)

Source from the content-addressed store, hash-verified

72
73
74def pause_updates(max_days: int = 18300):
75 start, end = _default_times()
76 services = make_services("")
77 return _invoke("pause_updates", lambda: services["update"].pause(max_days, start, end))
78
79
80def resume_updates():

Callers

nothing calls this directly

Calls 4

_default_timesFunction · 0.85
make_servicesFunction · 0.85
_invokeFunction · 0.85
pauseMethod · 0.80

Tested by

no test coverage detected