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

Method is_running

objdiff-core/src/jobs/mod.rs:52–54  ·  view source on GitHub ↗

Returns whether a job of the given kind is running.

(&self, kind: Job)

Source from the content-addressed store, hash-verified

50
51 /// Returns whether a job of the given kind is running.
52 pub fn is_running(&self, kind: Job) -> bool {
53 self.jobs.iter().any(|j| j.kind == kind && j.handle.is_some())
54 }
55
56 /// Returns whether any job is running.
57 pub fn any_running(&self) -> bool {

Callers 4

post_updateMethod · 0.80
pre_updateMethod · 0.80
pre_updateMethod · 0.80
push_onceMethod · 0.80

Calls 1

is_someMethod · 0.80

Tested by

no test coverage detected