IsStopped returns whether the loop is stopped.
()
| 531 | |
| 532 | // IsStopped returns whether the loop is stopped. |
| 533 | func (l *Loop) IsStopped() bool { |
| 534 | l.mu.Lock() |
| 535 | defer l.mu.Unlock() |
| 536 | return l.stopped |
| 537 | } |
| 538 | |
| 539 | // effectiveWorkDir returns the working directory to use for the agent. |
| 540 | // If workDir is set, it is used directly. Otherwise, defaults to the PRD directory. |