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

Function start_create_scratch

objdiff-core/src/jobs/create_scratch.rs:107–112  ·  view source on GitHub ↗
(waker: Waker, config: CreateScratchConfig)

Source from the content-addressed store, hash-verified

105}
106
107pub fn start_create_scratch(waker: Waker, config: CreateScratchConfig) -> JobState {
108 start_job(waker, "Create scratch", Job::CreateScratch, move |context, cancel| {
109 run_create_scratch(&context, cancel, config)
110 .map(|result| JobResult::CreateScratch(Some(result)))
111 })
112}

Callers

nothing calls this directly

Calls 2

start_jobFunction · 0.85
run_create_scratchFunction · 0.85

Tested by

no test coverage detected