Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WriteFileJSONL ¶
func WriteFileJSONL(w io.Writer, r common.FileResult) error
WriteFileJSONL encodes r as a single compact JSON line to w.
func WriteJSONL ¶
WriteJSONL encodes r as a single compact JSON line (terminated by '\n') to w.
func WriteRepoJSONL ¶
func WriteRepoJSONL(w io.Writer, r common.RepoResult) error
WriteRepoJSONL encodes r as a single compact JSON line to w.
func WriteWorktreeJSONL ¶ added in v0.4.0
func WriteWorktreeJSONL(w io.Writer, r common.WorktreeResult) error
WriteWorktreeJSONL encodes r as a single compact JSON line to w.
Types ¶
type FileJSONLExecutor ¶
FileJSONLExecutor runs Tasks concurrently (bounded by MaxProcs), parses each line of stdout as a relative file path, and writes one JSONL FileResult line per file.
type JSONLExecutor ¶
JSONLExecutor runs Tasks concurrently (bounded by MaxProcs), captures each task's stdout and stderr, and writes one JSONL Result line to Out per task.
Non-zero exit codes from the executed process are recorded in Result.ExitCode and do NOT cause Run to return an error — they are treated as data. Run returns an error when context is cancelled, writing to Out fails, or when FailFast is true and a task fails.