()
| 41 | } |
| 42 | |
| 43 | func (p DiffParams) Validate() error { |
| 44 | if err := p.ReadParams.Validate(); err != nil { |
| 45 | return err |
| 46 | } |
| 47 | |
| 48 | if p.HeadRef == "" { |
| 49 | return errors.InvalidArgument("head ref cannot be empty") |
| 50 | } |
| 51 | return nil |
| 52 | } |
| 53 | |
| 54 | func (s *Service) RawDiff( |
| 55 | ctx context.Context, |
nothing calls this directly
no test coverage detected