MCPcopy Index your code
hub / github.com/encounter/objdiff / start_check_update

Function start_check_update

objdiff-core/src/jobs/check_update.rs:45–50  ·  view source on GitHub ↗
(waker: Waker, config: CheckUpdateConfig)

Source from the content-addressed store, hash-verified

43}
44
45pub fn start_check_update(waker: Waker, config: CheckUpdateConfig) -> JobState {
46 start_job(waker, "Check for updates", Job::CheckUpdate, move |context, cancel| {
47 run_check_update(&context, cancel, config)
48 .map(|result| JobResult::CheckUpdate(Some(result)))
49 })
50}

Callers

nothing calls this directly

Calls 2

start_jobFunction · 0.85
run_check_updateFunction · 0.85

Tested by

no test coverage detected