()
| 25 | } |
| 26 | |
| 27 | func (p ReadParams) Validate() error { |
| 28 | if p.RepoUID == "" { |
| 29 | return errors.InvalidArgument("repository id cannot be empty") |
| 30 | } |
| 31 | return nil |
| 32 | } |
| 33 | |
| 34 | // WriteParams contains the base parameters for write operations. |
| 35 | type WriteParams struct { |
nothing calls this directly
no test coverage detected