ValidatePIDList validates a list of PIDs and returns detailed error information
(pids []int)
| 465 | |
| 466 | // ValidatePIDList validates a list of PIDs and returns detailed error information |
| 467 | func (pv *ProcessValidator) ValidatePIDList(pids []int) map[int]error { |
| 468 | errors := make(map[int]error) |
| 469 | |
| 470 | for _, pid := range pids { |
| 471 | if err := pv.ValidatePID(pid); err != nil { |
| 472 | errors[pid] = err |
| 473 | } |
| 474 | } |
| 475 | |
| 476 | return errors |
| 477 | } |
nothing calls this directly
no test coverage detected