prow/deck/jobs/jobs.go
func (ja *JobAgent) Jobs() []Job {
	ja.mut.Lock()
	defer ja.mut.Unlock()
	res := make([]Job, len(ja.jobs))
	copy(res, ja.jobs)
	return res
}
func (ja *JobAgent) Jobs() []Job {
	ja.mut.Lock()
	defer ja.mut.Unlock()
	res := make([]Job, len(ja.jobs))
	copy(res, ja.jobs)
	return res
}
func ( ja * JobAgent ) Jobs ( ) [ ] Job { ja . mut . Lock ( ) defer ja . mut . Unlock ( ) res := make ( [ ] Job , len ( ja . jobs ) ) copy ( res , ja . jobs ) return res }
// Jobs returns a thread-safe snapshot of the current job state.
Jobs returns a thread - safe snapshot of the current job state .