()
| 51 | } |
| 52 | |
| 53 | func (e *HookTimeoutError) Error() string { |
| 54 | return fmt.Sprintf("hook %q timed out after %s", e.Hook, e.Timeout) |
| 55 | } |
| 56 | |
| 57 | // cappedStringWriter captures at most maxBytes while still reporting full |
| 58 | // progress to avoid blocking subprocess writers on large output. |
no outgoing calls