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

Function start_update

objdiff-core/src/jobs/update.rs:62–66  ·  view source on GitHub ↗
(waker: Waker, config: UpdateConfig)

Source from the content-addressed store, hash-verified

60}
61
62pub fn start_update(waker: Waker, config: UpdateConfig) -> JobState {
63 start_job(waker, "Update app", Job::Update, move |context, cancel| {
64 run_update(&context, cancel, config).map(JobResult::Update)
65 })
66}

Callers

nothing calls this directly

Calls 2

start_jobFunction · 0.85
run_updateFunction · 0.85

Tested by

no test coverage detected