FetchBranchDiff returns the diff of a branch compared against the repository's default branch. This is the fallback when no pull request exists yet (e.g. the agent pushed a branch but hasn't opened a PR). Returns ErrDiffTooLarge if the diff exceeds MaxDiffSize.
(ctx context.Context, token string, ref BranchRef)
| 147 | // pushed a branch but hasn't opened a PR). Returns |
| 148 | // ErrDiffTooLarge if the diff exceeds MaxDiffSize. |
| 149 | FetchBranchDiff(ctx context.Context, token string, ref BranchRef) (string, error) |
| 150 | |
| 151 | // ParseRepositoryOrigin parses a remote origin URL (HTTPS |
| 152 | // or SSH) into owner and repo components, returning the |
no outgoing calls