MCPcopy Create free account
hub / github.com/It4innovations/hyperqueue / get_job

Method get_job

crates/hyperqueue/src/server/state.rs:30–32  ·  view source on GitHub ↗
(&self, job_id: JobId)

Source from the content-addressed store, hash-verified

28
29impl State {
30 pub fn get_job(&self, job_id: JobId) -> Option<&Job> {
31 self.jobs.get(&job_id)
32 }
33
34 pub fn get_job_mut(&mut self, job_id: JobId) -> Option<&mut Job> {
35 self.jobs.get_mut(&job_id)

Callers 6

restore_jobMethod · 0.80
compute_job_detailFunction · 0.80
compute_job_infoFunction · 0.80
handle_job_forgetFunction · 0.80
handle_submitFunction · 0.80
handle_task_explainFunction · 0.80

Calls 1

getMethod · 0.45

Tested by

no test coverage detected