MCPcopy Create free account
hub / github.com/CodeGraphContext/CodeGraphContext / list_jobs

Method list_jobs

src/codegraphcontext/core/jobs.py:102–105  ·  view source on GitHub ↗

Returns a list of all jobs currently in the manager.

(self)

Source from the content-addressed store, hash-verified

100 return self.jobs.get(job_id)
101
102 def list_jobs(self) -> List[JobInfo]:
103 """Returns a list of all jobs currently in the manager."""
104 with self.lock:
105 return list(self.jobs.values())
106
107 def find_active_job_by_path(self, path: str) -> Optional[JobInfo]:
108 """Finds the most recent, currently active (pending or running) job for a given path."""

Callers 3

list_jobs_toolMethod · 0.80
list_jobs_toolMethod · 0.80
list_jobsFunction · 0.80

Calls 1

valuesMethod · 0.45

Tested by

no test coverage detected